aboutsummaryrefslogtreecommitdiff
path: root/test/test.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make the project build with Microsoft's broken C compiler.Sebastiano Tronto2026-04-061-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.
* Improvements to build.bat (unit tests on Windows)Sebastiano Tronto2025-08-131-1/+0
|
* Wrapped pthread use in custom APISebastiano Tronto2025-08-111-0/+1
|
* Update tests for oriented_cube_tSebastiano Tronto2025-04-221-7/+8
|
* Updated tests and added fixed =A to B32 outputSebastiano Tronto2025-04-221-2/+2
|
* Better logging functionSebastiano Tronto2025-04-151-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.
* Some minor changes to the interface.Sebastiano Tronto2025-04-081-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.
* DR coordinate solverSebastiano Tronto2025-03-281-1/+1
|
* More safety with pointers using VLA function parametersSebastiano Tronto2025-03-251-1/+1
|
* Big cleanup for appendsolution()Sebastiano Tronto2025-03-241-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
* Some safety with move arrays, small refactor appendcharSebastiano Tronto2025-03-221-1/+1
|
* Working (?) version of coordinate solverSebastiano Tronto2025-03-091-1/+1
|
* Begin work for coordinate solverSebastiano Tronto2025-03-041-0/+1
|
* Make writecube saferSebastiano Tronto2024-10-121-2/+2
|
* Avoid repeating typedefs in testsSebastiano Tronto2024-10-041-0/+5
|
* Reorganized folder structureSebastiano Tronto2024-08-181-17/+4
|
* cube_neon ver1enricotenuti2024-08-071-1/+8
|
* Changed logger from va_args to ...Sebastiano Tronto2024-06-201-2/+9
|
* Use callback function to log to stderrSebastiano Tronto2024-06-171-0/+13
|
* Remvoed cube_fast_t and more. More cleaning up to do.Sebastiano Tronto2024-06-091-8/+4
|
* Added tests for h48 invcoordSebastiano Tronto2024-05-201-0/+2
|
* Added inverse eo and copy_{edges,corners}Sebastiano Tronto2024-05-171-0/+1
|
* Added cocsep data generation, but it is very slowSebastiano Tronto2024-03-301-0/+1
|
* Test cleanupSebastiano Tronto2023-11-131-1/+20
|
* Tidy up; made things testableSebastiano Tronto2023-11-131-0/+7

Generated with cgit - Back to sebastiano.tronto.net