eb45650178
fix: use uintptr over usize in locations where applicable
2025-10-09 18:35:39 +02:00
d4fabf437c
reformat the code by enabeling assignment- and declaration alignment.
2025-10-09 12:17:04 +02:00
aa58d931aa
move /src/util/intdef.h to /src/util/types.h
2025-10-09 12:16:06 +02:00
6eb7d126da
create a custom definition for size_t and ssize_t, which is ssize and usize, for conveinience.
2025-09-18 10:39:57 +02:00
181fca6828
fix: windows test; USERPROFILE should also result in a roaming path.
2025-09-18 09:50:56 +02:00
f6e5712876
fix: testing warnings
2025-09-18 09:47:31 +02:00
47d34b3f7d
rewrite testing code to be a bit more durable and clean.
2025-09-17 16:52:18 +02:00
0baadfca75
update copyright information in all files
...
the comment was using single-line comments, I prefer multi-line comments
now.
This bothered me for much too long.
2025-08-29 09:36:55 +02:00
54428e72f9
fix: tests were still using types.h, rather than intdef.h
2025-08-13 12:19:17 +02:00
75008c6ca8
add comment to explain sar test
2025-08-13 12:19:15 +02:00
1d5df8df0a
apply new formatting rules to the whole project
2025-07-24 16:29:03 +02:00
d1d5e14971
add a test which ensures that bit shift right is an arithmetic shift, not logical shift.
2025-07-13 12:21:37 +02:00
ceea087a88
remove colour32 typedef, and just use a 4D vector.
2025-07-07 14:27:28 +02:00
9b9a20e226
we are using GNU extensions, using __builtin_bswap* is fine.
2025-07-07 14:27:28 +02:00
5e0db59198
fix: remove vector unit tests, since this code no longer exists.
2025-07-07 14:27:28 +02:00
2d059cf1db
apply new formatting rules
2025-07-03 10:55:33 +02:00
f78a5b6557
fix bug on windows tests failing; out was containing rubbish data
2025-06-20 20:58:31 +02:00
80b8b65b73
define short-hand types for int32/uint32 et cetera
2025-06-20 20:39:59 +02:00
48f4b28f90
expand integer config tests
2025-06-16 13:40:53 +02:00
f2c2eaf36d
replace endianness tests with more robust and architecture-agnostic tests for swapping byte order
2025-06-15 16:01:28 +02:00
1341708b6d
add config file testing
2025-06-15 13:57:52 +02:00
bdeab76aac
count total assertions, rather than tests given
2025-06-15 13:57:52 +02:00
3a9fc7e0a4
update testing framework
2025-06-13 01:55:44 +02:00
a7fb6136ea
fix: renamed some symbols which were causing some compatibility problems
...
__FILE_NAME__ and GLFW_CONTEXT_DEBUG were causing problems in the CI
pipeline, thus I deemed them unreliable.
__FILE_NAME__ is not __FILE__ which is more universally used across
compilers.
and GLFW_CONTEXT_DEBUG has been replaced with GLFW_OPENGL_DEBUG_CONTEXT,
which is a legacy definition, which plays nicer on older platforms.
(like ubuntu)
2025-06-11 17:56:22 +02:00
13b63a1ba2
fix: include glad implementation in the unit test file, since it was lacking that
2025-06-06 18:09:49 +02:00
a897cc7b67
write some unit tests
2025-06-03 15:05:24 +02:00
37109911fb
move testing code out of test/src/ and into test/
2025-06-02 12:41:01 +02:00
1d2617e3b3
add lisence information to files that were missing it
2025-06-02 12:41:01 +02:00
Quinn
f7994b7d50
add testing code
2025-06-02 12:41:00 +02:00