Files
curtle/tests/test_linear_algebra.c
Leo Sulzbacher 431c9abcc7
Some checks failed
CI / build (push) Failing after 56s
feat: add ci, testing and base structure
2026-03-14 12:43:28 +01:00

12 lines
184 B
C

#include <assert.h>
#include "curtle/linear_algebra.h"
int main() {
vec2 a = {1,2};
vec2 b = {3,4};
vec2 r = vec2_add(a,b);
assert(r.x == 4);
assert(r.y == 6);
}