From d494a5f4cf6435314bf29b662cd4cdafa35f615c Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Fri, 29 Mar 2019 06:46:30 -0500 Subject: fix tests for math.mulWide --- std/math.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/std/math.zig b/std/math.zig index 4daa96d20d..92373388c2 100644 --- a/std/math.zig +++ b/std/math.zig @@ -812,8 +812,8 @@ pub fn mulWide(comptime T: type, a: T, b: T) @IntType(T.is_signed, T.bit_count * return ResultInt(a) * ResultInt(b); } -test "math.wideMul" { - testing.expect(wideMul(u8, 5, 5) == 25); - testing.expect(wideMul(i8, 5, -5) == -25); - testing.expect(wideMul(u8, 100, 100) == 10000); +test "math.mulWide" { + testing.expect(mulWide(u8, 5, 5) == 25); + testing.expect(mulWide(i8, 5, -5) == -25); + testing.expect(mulWide(u8, 100, 100) == 10000); } -- cgit v1.2.3