Sanity checks (#88)

This commit is contained in:
tevador
2019-06-29 18:53:49 +02:00
committed by GitHub
parent c6b5ec12b6
commit aaa6e4e881
5 changed files with 54 additions and 10 deletions
+1
View File
@@ -1011,6 +1011,7 @@ int main() {
cache = randomx_alloc_cache(RANDOMX_FLAG_JIT);
currentKey.size = 0;
randomx_destroy_vm(vm);
initCache("test key 000");
vm = randomx_create_vm(RANDOMX_FLAG_JIT, cache, nullptr);
runTest("Hash test 2a (compiler)", RANDOMX_HAVE_COMPILER && stringsEqual(RANDOMX_ARGON_SALT, "RandomX\x03"), test_a);