summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2024-06-08improve hash api and hash testStanislaw Halik
2024-06-08test: reorder slow testsStanislaw Halik
2024-06-08tests: oops, fix naming conflictStanislaw Halik
2024-06-08tests: improve collision/rtree testStanislaw Halik
2024-06-08aStanislaw Halik
2024-06-07eStanislaw Halik
2024-06-07add failing testStanislaw Halik
2024-06-06wStanislaw Halik
2024-06-06fix testStanislaw Halik
2024-06-06wStanislaw Halik
2024-06-05fix buildStanislaw Halik
2024-05-28wStanislaw Halik
2024-05-26acStanislaw Halik
2024-05-26abStanislaw Halik
2024-05-26fix/remove obsolete todo commentsStanislaw Halik
2024-05-26use array_size instead of std::size/arraySizeStanislaw Halik
2024-05-26b cleanup includesStanislaw Halik
- remove unused includes - reorder some compat/ includes to the bottom, in order to check whether the headers correctly include them
2024-05-26waStanislaw Halik
2024-05-26w aStanislaw Halik
2024-05-26wStanislaw Halik
2024-05-26wStanislaw Halik
2024-05-25wStanislaw Halik
2024-05-08move temporary tests to be executed firstStanislaw Halik
2024-05-06fix up borrowed-ptr include layoutStanislaw Halik
2024-05-06test: speed up compile timeStanislaw Halik
Removes implicit includes to <windows.h> and <cr/StringView.h> from all files. Goes from 30 to 20 seconds.
2024-05-06switch to lazily allocating pathfinding resultsStanislaw Halik
2024-05-06a?Stanislaw Halik
2024-05-05aafeature/bptrStanislaw Halik
2024-05-05aaStanislaw Halik
2024-05-05aStanislaw Halik
2024-05-05a wStanislaw Halik
2024-05-05a wStanislaw Halik
2024-05-05test/save: test light_proto harderStanislaw Halik
2024-05-05src: remove the tile_iterator classStanislaw Halik
This is too crufty to bother with.
2024-05-05reorder tests by execution speedStanislaw Halik
2024-05-02compat/assert: reduce executable sizeStanislaw Halik
2024-05-02now call script updateStanislaw Halik
2024-04-14add find_object specialization for scenery subtypesStanislaw Halik
2024-04-13split scenery-proto into its own fileStanislaw Halik
2024-04-13test/save: add explicit test for struct lightStanislaw Halik
2024-04-13instantiate scenery in a uniform mannerStanislaw Halik
Now using world::make_scenery(). Add `std::monostate` to the `scenery_proto` variant to catch potential bugs.
2024-04-13use inheritance for scenery, not std::variantStanislaw Halik
It's still WIP because creating scenery has to branch on all subtypes. This needs to be taken care of generically in `world::make_object()`.
2024-04-11rewrite bitmask implStanislaw Halik
It's slower than the previous version but fixes a bug when stride isn't a multiple of 8. It can be improved further by setting `auto& byte` all at once instead of setting individual bits of multiple bytes in the innermost loop. ------------------------------------------------------------ New version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 1911 us 1893 us 5 Bitmask_median 1911 us 1885 us 5 Bitmask_stddev 2.00 us 18.7 us 5 Bitmask_cv 0.10 % 0.99 % 5 ------------------------------------------------------------- ------------------------------------------------------------ Buggy version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 841 us 841 us 5 Bitmask_median 839 us 837 us 5 Bitmask_stddev 3.29 us 7.80 us 5 Bitmask_cv 0.39 % 0.93 % 5 ------------------------------------------------------------ ----------------------------------------------------------- Naive version Time CPU Iterations ------------------------------------------------------------ Bitmask_mean 4006 us 3997 us 10 Bitmask_median 4006 us 3997 us 10 Bitmask_stddev 2.29 us 0.000 us 10 Bitmask_cv 0.06 % 0.00 % 10 ------------------------------------------------------------
2024-04-11test: reorder tests based on execution speedStanislaw Halik
2024-04-11fix sprite bitmask generatorStanislaw Halik
This is WIP because it needs a more efficient algorithm.
2024-04-11aStanislaw Halik
2024-04-11aStanislaw Halik
2024-04-10aStanislaw Halik
2024-04-10testsStanislaw Halik
2024-04-10test++Stanislaw Halik