Add unit tests.

This commit is contained in:
2021-10-05 01:58:31 +01:00
parent 1f31d93572
commit c936a649bb
5 changed files with 74 additions and 0 deletions

View File

@@ -25,3 +25,5 @@ if("${CMAKE_BUILD_TYPE}" MATCHES "Release")
endif()
add_library("Aaru.Checksums.Native" SHARED adler32.h adler32.c crc16.h crc16.c crc16_ccitt.h crc16_ccitt.c crc32.c crc32.h crc64.c crc64.h fletcher16.h fletcher16.c fletcher32.h fletcher32.c library.h spamsum.c spamsum.h crc32_clmul.c crc64_clmul.c simd.c simd.h adler32_ssse3.c adler32_avx2.c adler32_neon.c crc32_arm_simd.c crc32_vmull.c crc32_simd.h)
add_subdirectory(tests)