Skip to content

Commit

Permalink
Use sin(1) instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 27, 2014
1 parent 9e9c8df commit ce23c70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/28autowrap.t
Expand Up @@ -2,9 +2,9 @@ use strict; use warnings; use diagnostics;
my $t; use lib ($t = -e 't' ? 't' : 'test');
use TestInlineSetup;
use Inline config => directory => $TestInlineSetup::DIR;
use Test::More $^O eq 'MSWin32' ? (skip_all => 'no erf') : ();
use Test::More;

use Inline C => sub { q{ double erf(double); } } => enable => "autowrap";
like erf(1), qr/^0\.8/, "erf(1) returned 0.8-ish";
use Inline C => sub { q{ double sin(double); } } => enable => "autowrap";
like sin(1), qr/^0\.8/, "sin(1) returned 0.8-ish";

done_testing;

0 comments on commit ce23c70

Please sign in to comment.