added missing files
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include <UnitTest++.h>
|
||||
|
||||
#include "Utils.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
TEST (sh256_hash) {
|
||||
string input ("hello");
|
||||
string hash = sha256_hash (input);
|
||||
|
||||
CHECK_EQUAL (hash, std::string("2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user