Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.427 kb
use v6;
use Test;
plan 5;
=begin description
Basic tests for trigonometric functions.
=end description
# See also: L<"http://en.wikipedia.org/wiki/E_%28mathematical_constant%29"> :)
my $e = e;
is(e , $e, "e, as a value");
#?pugs todo
eval_dies_ok('e()', "e(), dies as a sub");
is(1 + e, $e+1, "1+e, as a value");
is(e + 1, $e+1, "e+1, as a value");
is(1 + e +0, $e+1, "1 + e +0, as a value");
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.