Skip to content

Commit

Permalink
Made a test of approx for complex values. 2.095 fails
Browse files Browse the repository at this point in the history
  • Loading branch information
wlmb committed Dec 8, 2024
1 parent 53d8fab commit 8c75e16
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Basic/t/approx_cmplx.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use strict;
use warnings;
use Test::More;
use PDL;


# test approx
ok approx(i,i), 'i is approx i';
ok !approx(i,5*i), 'i is not approx 5i';

done_testing;

0 comments on commit 8c75e16

Please sign in to comment.