Commit f035437b5d

Cody Tapscott <topolarity@tapscott.me>
2022-10-13 20:31:21
Re-enable Vector f16 tests on Windows
Closes #4952
1 parent b8c587e
Changed files (1)
test
behavior
test/behavior/vector.zig
@@ -506,18 +506,12 @@ test "vector division operators" {
         }
 
         fn doTheTest() !void {
-            // https://github.com/ziglang/zig/issues/4952
-            if (builtin.target.os.tag != .windows) {
-                try doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });
-            }
+            try doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });
 
             try doTheTestDiv(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, -1.0, -2.0 });
             try doTheTestDiv(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, -1.0, -2.0 });
 
-            // https://github.com/ziglang/zig/issues/4952
-            if (builtin.target.os.tag != .windows) {
-                try doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });
-            }
+            try doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });
             try doTheTestMod(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, 0.5, 3.0 });
             try doTheTestMod(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, 0.5, 3.0 });