Added more tests

This commit is contained in:
SChernykh
2021-09-06 15:49:39 +02:00
parent 6dd5dcec39
commit d3dc4c731f
10 changed files with 153 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ static void parse_hash(const std::string& s, hash& h)
TEST(crypto, derivation)
{
std::ifstream f("crypto_tests.txt");
ASSERT_EQ(f.good(), true);
ASSERT_EQ(f.good() && f.is_open(), true);
do {
std::string name;
f >> name;