glfw: cleanup two tests

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-18 21:37:05 -07:00
parent c2af312200
commit 04a213b411

View file

@ -139,14 +139,16 @@ pub fn basicTest() !void {
}
test "version" {
// Reference these so the tests in these files get pulled in / ran.
_ = Monitor;
_ = GammaRamp;
_ = VideoMode;
_ = Window;
std.debug.print("\nGLFW version v{}.{}.{}\n", .{ version.major, version.minor, version.revision });
std.debug.print("\nstring: {s}\n", .{getVersionString()});
}
test "basic" {
_ = Monitor;
_ = GammaRamp;
_ = VideoMode;
_ = Window;
basicTest() catch unreachable;
try basicTest();
}