about summary refs log tree commit diff
path: root/src/monkey_learns/test.zig
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-07-11 00:11:07 +0200
committermakefunstuff <[email protected]>2024-07-11 00:11:07 +0200
commit9b9e63476616a123eb4d00f87f677ef2d9478897 (patch)
treee079d7d390f1ba0f86b97d55e5ab9e4dd2076d86 /src/monkey_learns/test.zig
parentfd3a727f4b4f819178225cdd87d8788b85c4b86c (diff)
downloadtinkerbunk-9b9e63476616a123eb4d00f87f677ef2d9478897.tar.gz
fix tests for linear regression
Diffstat (limited to 'src/monkey_learns/test.zig')
-rw-r--r--src/monkey_learns/test.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/monkey_learns/test.zig b/src/monkey_learns/test.zig
index 7c3472e..47bfdfa 100644
--- a/src/monkey_learns/test.zig
+++ b/src/monkey_learns/test.zig
@@ -1,3 +1,7 @@
-comptime {
-    _ = @import("linear_regression.zig");
+const std = @import("std");
+const testing = std.testing;
+pub const linear_regression = @import("linear_regression.zig");
+
+test {
+    testing.refAllDeclsRecursive(@This());
 }