aboutsummaryrefslogtreecommitdiff
path: root/test/test.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-04-06Make the project build with Microsoft's broken C compiler.Sebastiano Tronto1-1/+2
MSVC is not fully C11-compliant, even when compiling with /std:c11. Some changes were needed to make the codebase compatible. Notably, the notation a[static N] and a[n] for function parameters of array type is not supported, so that had to be hidden behind a macro. Atomic types are also an experimental feature, apparently, but at least they work with the correct compiler flag. One thing that MSVC does well, however, is warning on integer conversions on /W4 level. I am not sure if Clang and GCC have something similar, so I took this chance to fix some of these.
2025-08-13Improvements to build.bat (unit tests on Windows)Sebastiano Tronto1-1/+0
2025-08-11Wrapped pthread use in custom APISebastiano Tronto1-0/+1
2025-04-22Update tests for oriented_cube_tSebastiano Tronto1-7/+8
2025-04-22Updated tests and added fixed =A to B32 outputSebastiano Tronto1-2/+2
2025-04-15Better logging functionSebastiano Tronto1-2/+2
Now it is possible to provide some data together with the logging function. This is useful for example in C++, where I can now provide an arbitrary callable object as data, and a simple wrapper function that call the callable object as logging function.
2025-04-08Some minor changes to the interface.Sebastiano Tronto1-6/+2
- Simplified logger to accept only a string, not a variadic list of args like printf(). This can still use some improvement, but now it is easier to use from other languages. - Fixed some misuses of the logger (wrong types etc) - Renamed some constants - Fixed some typos in comments.
2025-03-28DR coordinate solverSebastiano Tronto1-1/+1
2025-03-25More safety with pointers using VLA function parametersSebastiano Tronto1-1/+1
2025-03-24Big cleanup for appendsolution()Sebastiano Tronto1-0/+1
With this PR the appendsolution routine is extracted from the h48 solver and the new coordinate solver and made generic. This has many advantages: - less repetition (even if the two versions are different enough that *for now* it was not a big deal) - smaller h48/solve.h file, which is already a big beast - easier to test the appendsolution() routine separately
2025-03-22Some safety with move arrays, small refactor appendcharSebastiano Tronto1-1/+1
2025-03-09Working (?) version of coordinate solverSebastiano Tronto1-1/+1
2025-03-04Begin work for coordinate solverSebastiano Tronto1-0/+1
2024-10-12Make writecube saferSebastiano Tronto1-2/+2
2024-10-04Avoid repeating typedefs in testsSebastiano Tronto1-0/+5
2024-08-18Reorganized folder structureSebastiano Tronto1-17/+4
2024-08-07cube_neon ver1enricotenuti1-1/+8
2024-06-20Changed logger from va_args to ...Sebastiano Tronto1-2/+9
2024-06-17Use callback function to log to stderrSebastiano Tronto1-0/+13
2024-06-09Remvoed cube_fast_t and more. More cleaning up to do.Sebastiano Tronto1-8/+4
2024-05-20Added tests for h48 invcoordSebastiano Tronto1-0/+2
2024-05-17Added inverse eo and copy_{edges,corners}Sebastiano Tronto1-0/+1
2024-03-30Added cocsep data generation, but it is very slowSebastiano Tronto1-0/+1
2023-11-13Test cleanupSebastiano Tronto1-1/+20
2023-11-13Tidy up; made things testableSebastiano Tronto1-0/+7

Generated with cgit - Back to sebastiano.tronto.net