aboutsummaryrefslogtreecommitdiff
path: root/src/sfml/sfml_tests.zig
diff options
context:
space:
mode:
authortslil clingman <>2021-09-01 12:59:50 -0400
committertslil clingman <>2021-09-01 12:59:50 -0400
commit6a2d132873ce7b40405a3dc000a12539fffd969b (patch)
tree3b730360b348900fbc937bd44b89c293c39ca00c /src/sfml/sfml_tests.zig
Init
Diffstat (limited to 'src/sfml/sfml_tests.zig')
-rw-r--r--src/sfml/sfml_tests.zig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sfml/sfml_tests.zig b/src/sfml/sfml_tests.zig
new file mode 100644
index 0000000..5977a07
--- /dev/null
+++ b/src/sfml/sfml_tests.zig
@@ -0,0 +1,11 @@
+//! Test suite. Most tests are fairly basic, as they're not testing the SFML itself
+
+const std = @import("std");
+
+test "all sfml tests" {
+ const sf = @import("sfml.zig");
+ std.testing.refAllDecls(sf.system);
+ std.testing.refAllDecls(sf.window);
+ std.testing.refAllDecls(sf.graphics);
+ std.testing.refAllDecls(sf.audio);
+}