mirror of
https://github.com/qbittorrent/qBittorrent
synced 2024-11-19 12:27:16 +01:00
a4c2363f43
Now we can write `Version<int, 3, 1>(1)` and provide only 1 parameter instead of all 3 parameters at once at the constructor. Note that for this instance of `Version` 3 numbers were specified but only 1 is truly mandatory. The added code are required to specify conditions of the template instantiation for the compiler. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Readme.md | ||
testalgorithm.cpp | ||
testorderedset.cpp | ||
testutilscompare.cpp | ||
testutilsgzip.cpp | ||
testutilsstring.cpp | ||
testutilsversion.cpp |
Test suite
To run tests, add -DTESTING=ON
argument when invoking cmake, then build the app as usual.
After building, run cmake --build <build> --target check
where <build>
is your cmake build directory.