Skip to content

Commit

Permalink
Use Google Test Suite for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Apr 6, 2024
1 parent c2d084c commit 56a2a9e
Show file tree
Hide file tree
Showing 2 changed files with 766 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Test executable
add_executable(testLiteString
testLiteString.cpp
../lite_str.h
../lite_str.c)
add_executable(testLiteString testLiteString.cpp)

# Link with gtest
target_link_libraries(testLiteString gtest gtest_main)
target_link_libraries(testLiteString LiteStr gtest gtest_main)

include(GoogleTest)

Expand Down
Loading

0 comments on commit 56a2a9e

Please sign in to comment.