added google test for chacha20 code

This commit is contained in:
mr-alice 2016-10-25 14:09:39 +02:00
parent 0387a28e78
commit 0570427c1d
4 changed files with 94 additions and 52 deletions

View file

@ -0,0 +1,12 @@
#include <gtest/gtest.h>
// from libretroshare
#include "crypto/chacha20.h"
TEST(libretroshare_crypto, ChaCha20)
{
std::cerr << "Testing Chacha20" << std::endl;
EXPECT_TRUE(librs::crypto::perform_tests()) ;
}