aboutsummaryrefslogtreecommitdiff
path: root/std/math/complex/sin.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-09 18:57:39 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-02-09 18:57:39 -0500
commit1864acd32608ae917f8afc11b11f08a4bb362cef (patch)
treed96b50a927fc67583d88c71822513594609621fb /std/math/complex/sin.zig
parent48c1e235cb620dacc30254d0898390b4d97f3e73 (diff)
parentca8580ece1ab07215b72394cc4ab3030bf9df139 (diff)
downloadzig-1864acd32608ae917f8afc11b11f08a4bb362cef.tar.gz
zig-1864acd32608ae917f8afc11b11f08a4bb362cef.zip
Merge remote-tracking branch 'origin/master' into llvm8
Diffstat (limited to 'std/math/complex/sin.zig')
-rw-r--r--std/math/complex/sin.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/math/complex/sin.zig b/std/math/complex/sin.zig
index d32b771d3b..9d54ab0969 100644
--- a/std/math/complex/sin.zig
+++ b/std/math/complex/sin.zig
@@ -1,5 +1,5 @@
const std = @import("../../index.zig");
-const debug = std.debug;
+const testing = std.testing;
const math = std.math;
const cmath = math.complex;
const Complex = cmath.Complex;
@@ -17,6 +17,6 @@ test "complex.csin" {
const a = Complex(f32).new(5, 3);
const c = sin(a);
- debug.assert(math.approxEq(f32, c.re, -9.654126, epsilon));
- debug.assert(math.approxEq(f32, c.im, 2.841692, epsilon));
+ testing.expect(math.approxEq(f32, c.re, -9.654126, epsilon));
+ testing.expect(math.approxEq(f32, c.im, 2.841692, epsilon));
}