mrkubax10 97c59b4104 Rename `Rectf::contains(const Rectf&)` to `Rectf::overlaps(const Rectf&)` to reflect what this method actually does (#2734) hai 10 meses
..
data c9aa1c4c00 Add test for IFileStream %!s(int64=3) %!d(string=hai) anos
unit 580a169463 Use EXPECT_NEAR for float tests %!s(int64=2) %!d(string=hai) anos
README.md b810355bb2 Added unit tests %!s(int64=2) %!d(string=hai) anos
aatriangle_test.cpp 3cbea51800 Add tests for aatriangle.cpp %!s(int64=8) %!d(string=hai) anos
collision_test.cpp 97c59b4104 Rename `Rectf::contains(const Rectf&)` to `Rectf::overlaps(const Rectf&)` to reflect what this method actually does (#2734) hai 10 meses
dynamic_scoped_test.cpp 776a61d0aa Fix DynamicScopedRef test case %!s(int64=6) %!d(string=hai) anos
file_system_test.cpp d7225dadcd Improve FileSystem::join() output when rhs is an absolute path %!s(int64=5) %!d(string=hai) anos
ifile_stream_test.cpp c9aa1c4c00 Add test for IFileStream %!s(int64=3) %!d(string=hai) anos
md5_test.cpp 1491743ffc Converted test cases to googletest %!s(int64=9) %!d(string=hai) anos
object_option_test.cpp bc10f4397e Modifying bonus block custom object from editor (#2681) hai 11 meses
random_test.cpp 5cb721bc18 Fix some more clang-tidy warnings %!s(int64=5) %!d(string=hai) anos
reader_test.cpp 5333cebf62 [NO SQUASH] Move to C++17 and remove Boost dependency (#2473) hai 1 ano
rect_test.cpp e7217ca421 Add Rect::empty(), ::valid(), ::normalized() %!s(int64=6) %!d(string=hai) anos
rectf_test.cpp 97c59b4104 Rename `Rectf::contains(const Rectf&)` to `Rectf::overlaps(const Rectf&)` to reflect what this method actually does (#2734) hai 10 meses
size_test.cpp 1491743ffc Converted test cases to googletest %!s(int64=9) %!d(string=hai) anos
sizef_test.cpp 1491743ffc Converted test cases to googletest %!s(int64=9) %!d(string=hai) anos
string_util_test.cpp 1491743ffc Converted test cases to googletest %!s(int64=9) %!d(string=hai) anos
uid_test.cpp 31ab5ce0df Disable UIDTest.unique(), it works, but takes to long %!s(int64=6) %!d(string=hai) anos
version_test.cpp 3dc79f987c Fix PACKAGE_VERSION being empty, add unit test case for that issue %!s(int64=9) %!d(string=hai) anos

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/.