Initialize libsodium in the gtest suite.

This commit is contained in:
Sean Bowe
2016-05-10 17:46:58 -06:00
parent c9a2eea5e2
commit c75d6bd0fa

View File

@@ -1,6 +1,8 @@
#include "gtest/gtest.h"
#include "sodium.h"
int main(int argc, char **argv) {
assert(sodium_init() != -1);
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}