pollymc/tests
flow 445f9e5f71
feat+fix(Version): make comparsion FlexVer-compatible
... and fixes a minor issue in the parsing.

This changes the expected behavior of Versions in one significant way:
Now, Versions like 1.2 or 1.5 evaluate to LESS THAN 1.2.0 and 1.5.0
respectively. This makes sense for sorting versions, since one expects
the versions without patch release to 'contain' the ones with, so the
ones without should be evaluated uniformily with the ones with the
patch.

Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-21 18:47:47 -03:00
..
testdata feat(tests): add FlexVer test vector to the Version tests 2023-01-20 11:15:26 -03:00
CMakeLists.txt feat: add debug printing for Version 2023-01-19 09:50:45 +02:00
DataPackParse_test.cpp feat: validate world saves 2022-12-24 20:43:17 -07:00
FileSystem_test.cpp refactor: allow copy operation with whitelist 2022-11-12 20:27:13 +01:00
GradleSpecifier_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
GZip_test.cpp Fix: Using uint8_t in std::uniform_int_distribution is undefined 2022-11-03 21:35:27 +00:00
Index_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
INIFile_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
JavaVersion_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
Library_test.cpp chore: add missing license headers 2022-10-08 20:12:07 +02:00
MojangVersionFormat_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
PackageManifest_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
Packwiz_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
ParseUtils_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
ResourceFolderModel_test.cpp fix: tests 2022-09-20 10:26:15 +02:00
ResourcePackParse_test.cpp fix: cleanup and suggested changes 2022-12-26 14:50:15 -07:00
ShaderPackParse_test.cpp feat: validate world saves 2022-12-24 20:43:17 -07:00
Task_test.cpp refactor: restructure tests 2022-09-11 22:29:01 +02:00
TexturePackParse_test.cpp fix: update parse tests 2022-12-24 20:43:17 -07:00
Version_test.cpp feat+fix(Version): make comparsion FlexVer-compatible 2023-01-21 18:47:47 -03:00
WorldSaveParse_test.cpp feat: validate world saves 2022-12-24 20:43:17 -07:00