Added unit tests, and fixed two bugs: (#53)

* Integer conversion checks in src/wire/read.h
 * Missing "boolean" function in wire::writer and derived types
This commit is contained in:
Lee *!* Clagett
2023-01-17 14:10:24 -05:00
committed by Lee *!* Clagett
parent d233c72b5e
commit c958ac7963
20 changed files with 2326 additions and 70 deletions

View File

@@ -33,6 +33,8 @@ enable_language(CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
option(BUILD_TESTS "Build Tests" OFF)
set(MONERO_LIBRARIES
daemon_messages
serialization
@@ -247,3 +249,8 @@ set_property(TARGET monero::libraries PROPERTY
#
add_subdirectory(src)
if (BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif()