diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-26 23:43:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 23:43:02 -0800 |
| commit | 085bde6889925b486291ddf1450b6bb6c8562a8f (patch) | |
| tree | 02f7a49b4378dc2387b825bfc19825405f4502ca /lib/std/math/complex/abs.zig | |
| parent | 4e2570baafb587c679ee0fc5e113ddeb36522a5d (diff) | |
| parent | 726a1149e05669e5cc05a16ce877bbb2be787e39 (diff) | |
| download | zig-085bde6889925b486291ddf1450b6bb6c8562a8f.tar.gz zig-085bde6889925b486291ddf1450b6bb6c8562a8f.zip | |
Merge pull request #19087 from squeek502/redundant-test-naming
Remove redundant test name prefixes now that test names are fully qualified
Diffstat (limited to 'lib/std/math/complex/abs.zig')
| -rw-r--r-- | lib/std/math/complex/abs.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math/complex/abs.zig b/lib/std/math/complex/abs.zig index 97999ee775..ab85f2c36c 100644 --- a/lib/std/math/complex/abs.zig +++ b/lib/std/math/complex/abs.zig @@ -11,7 +11,7 @@ pub fn abs(z: anytype) @TypeOf(z.re, z.im) { const epsilon = 0.0001; -test "complex.cabs" { +test abs { const a = Complex(f32).init(5, 3); const c = abs(a); try testing.expect(math.approxEqAbs(f32, c, 5.83095, epsilon)); |
