Semphris 580a169463 Use EXPECT_NEAR for float tests пре 3 година
..
data c9aa1c4c00 Add test for IFileStream пре 3 година
unit 580a169463 Use EXPECT_NEAR for float tests пре 3 година
README.md b810355bb2 Added unit tests пре 3 година
aatriangle_test.cpp 3cbea51800 Add tests for aatriangle.cpp пре 8 година
collision_test.cpp 3156cd0600 Move collision code into collision/ directory пре 6 година
dynamic_scoped_test.cpp 776a61d0aa Fix DynamicScopedRef test case пре 6 година
file_system_test.cpp d7225dadcd Improve FileSystem::join() output when rhs is an absolute path пре 6 година
ifile_stream_test.cpp c9aa1c4c00 Add test for IFileStream пре 3 година
md5_test.cpp 1491743ffc Converted test cases to googletest пре 9 година
object_option_test.cpp 2cdf9f2ae6 Revert "[WIP] Move to C++17 (#1602)": Multiple compilation and linkage errors on Linux пре 4 година
random_test.cpp 5cb721bc18 Fix some more clang-tidy warnings пре 5 година
reader_test.cpp 2cdf9f2ae6 Revert "[WIP] Move to C++17 (#1602)": Multiple compilation and linkage errors on Linux пре 4 година
rect_test.cpp e7217ca421 Add Rect::empty(), ::valid(), ::normalized() пре 6 година
rectf_test.cpp 6ac5bf6728 Fix Rectf::set_p1() not taking size changes into account пре 6 година
size_test.cpp 1491743ffc Converted test cases to googletest пре 9 година
sizef_test.cpp 1491743ffc Converted test cases to googletest пре 9 година
string_util_test.cpp 1491743ffc Converted test cases to googletest пре 9 година
uid_test.cpp 31ab5ce0df Disable UIDTest.unique(), it works, but takes to long пре 6 година
version_test.cpp 3dc79f987c Fix PACKAGE_VERSION being empty, add unit test case for that issue пре 9 година

README.md

Tests

This folder groups all files needed to run the test suite.

Hierarchy

  • data/: Data files needed to perform tests.
  • unit/: Unit test files designed to fully test a single specific file in the src folder at the root of the repository. The folder structure and file naming should be identical in both folders.

Files that aren't in any folder are part of the legacy test suite.

Test suites which perform coverage differently (e. g. integration tests, running the game from the point of view of the user, etc) should be located in their own folder within test/.