added missing files

This commit is contained in:
2011-04-30 15:00:58 +02:00
parent 8d85b87702
commit 6accec04be
3 changed files with 43 additions and 0 deletions
+15
View File
@@ -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"));
}