From 1cd799317b4c5f19ab2cf5413be5d280de6a8476 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 27 Apr 2022 18:28:33 -0700 Subject: [PATCH] compiler-rt: remove invalid test This was leftover from testing std.math.sin --- lib/std/special/compiler_rt/sin.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/std/special/compiler_rt/sin.zig b/lib/std/special/compiler_rt/sin.zig index aa77a961c7..a0876d30a0 100644 --- a/lib/std/special/compiler_rt/sin.zig +++ b/lib/std/special/compiler_rt/sin.zig @@ -111,12 +111,6 @@ pub fn sinq(x: f128) callconv(.C) f128 { return sin(@floatCast(f64, x)); } -test "sin" { - try expect(sin(@as(f32, 0.0)) == sinf(0.0)); - try expect(sin(@as(f64, 0.0)) == sin(0.0)); - try expect(comptime (math.sin(@as(f64, 2))) == math.sin(@as(f64, 2))); -} - test "sin32" { const epsilon = 0.00001;