10 Commits

Author SHA1 Message Date
John Wellbelove
344f1b2387 Added Unit test macros
CHECK_FLOAT_SAME
CHECK_FLOAT_DIFFERENT
2024-08-09 21:36:15 +01:00
John Wellbelove
4aab807b03 Improvements to Unittest++ macros to fix odd VS2022 syntax colouring 2024-04-17 22:02:33 +01:00
John Wellbelove
77513730e0 Fixed shadow warnings in all files
#823 Multiple variable shadowing warnings in private/bitset_new.h
2024-01-25 14:22:26 +00:00
John Wellbelove
363a3e2dab Fix test array sizes
C++14 compiler compatibility

Updated test run scripts

Changed some ETL_ASSERT macros to ETL_ASSERT_OR_RETURN

Changed unit test macros for C++20 compaibility

Updated test run scripts

Updated CMake files to allow C++ standard selection

Replaced ETL_ASSERT_AND_RETURN with ETL_ASSERT_OR_RETURN

Updated C++14 & C++20 unit test compatibility

Changed native char8_t check

Added optional optimisation argument to bash script
2023-04-02 11:06:43 +01:00
John Wellbelove
044fc1b2ff Improved emplace testing
Changed unit test macro CHECK_FALSE_EQUAL to CHECK_NOT_EQUAL
2023-01-07 18:46:59 +00:00
John Wellbelove
3a4af24ab7 Work in progress
Added more CHECK macros
Added bitset_fast class for bitsets that are the same size as an integral type
2022-08-13 12:15:41 +01:00
John Wellbelove
3ee5abf74b Work in progress 2022-08-12 13:39:24 +01:00
John Wellbelove
648d5bf527 Added check macro that outputs hex digits 2022-08-09 12:45:29 +01:00
John Wellbelove
426f7f48a4 Updated CMakeLists.txt to embed the unit test code. 2022-03-21 16:08:49 +00:00
John Wellbelove
dcf06809ae Embedded copy of UnitTest++ 2022-03-20 22:41:59 +00:00