From 5b37124d34fa2ec31fd5af6d2f8d9950756235ce Mon Sep 17 00:00:00 2001 From: wowario Date: Wed, 22 Jul 2020 16:35:41 +0300 Subject: [PATCH] revert #258 hash_tests: add sha3 --- tests/hash/CMakeLists.txt | 2 +- tests/hash/main.cpp | 1 - tests/hash/tests-sha3.txt | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 tests/hash/tests-sha3.txt diff --git a/tests/hash/CMakeLists.txt b/tests/hash/CMakeLists.txt index 6b62332fc..0624d5d02 100644 --- a/tests/hash/CMakeLists.txt +++ b/tests/hash/CMakeLists.txt @@ -43,7 +43,7 @@ set_property(TARGET hash-tests PROPERTY FOLDER "tests") -foreach (hash IN ITEMS sha3 fast slow slow-1 slow-2 tree extra-blake extra-groestl extra-jh extra-skein) +foreach (hash IN ITEMS fast slow slow-1 slow-2 tree extra-blake extra-groestl extra-jh extra-skein) add_test( NAME "hash-${hash}" COMMAND hash-tests "${hash}" "${CMAKE_CURRENT_SOURCE_DIR}/tests-${hash}.txt") diff --git a/tests/hash/main.cpp b/tests/hash/main.cpp index ef3d7792c..d62098a60 100644 --- a/tests/hash/main.cpp +++ b/tests/hash/main.cpp @@ -84,7 +84,6 @@ struct hash_func { } hashes[] = {{"fast", cn_fast_hash}, {"slow", cn_slow_hash_0}, {"tree", hash_tree}, {"extra-blake", hash_extra_blake}, {"extra-groestl", hash_extra_groestl}, {"extra-jh", hash_extra_jh}, {"extra-skein", hash_extra_skein}, - {"sha3", sha3}, {"slow-1", cn_slow_hash_1}, {"slow-2", cn_slow_hash_2}, {"slow-4", cn_slow_hash_4}}; int test_variant2_int_sqrt(); diff --git a/tests/hash/tests-sha3.txt b/tests/hash/tests-sha3.txt deleted file mode 100644 index d13fbe70a..000000000 --- a/tests/hash/tests-sha3.txt +++ /dev/null @@ -1,3 +0,0 @@ -f1cfdca558ac0c00464ca0f3e265ec6fb32c57caeb106fbfed9f174f6b814642 77 -50bfb03895034e2fbbff0a24f030b907eddbad809b0937394b165f4ef02826cf 776f77 -c71c200337782119556e704121335c305271375cf456a1e7e12ed335394cf7b5 776f776e65726f