diff options
author | Brad Pitcher <bradpitcher@gmail.com> | 2012-01-08 19:40:04 (GMT) |
---|---|---|
committer | Brad Pitcher <bradpitcher@gmail.com> | 2012-01-08 19:40:04 (GMT) |
commit | 28f5f7a91025a077dad07fe4c86f079ab9c735b7 (patch) | |
tree | 45d60c489d384b9ef4749ac52ae17e3f93856416 /testdata | |
parent | f3e6e8168bac6b14383d1d321de7dcf122e0b7de (diff) |
added tests passing infinity to various functions
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/misc/inf-tests.scad | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testdata/scad/misc/inf-tests.scad b/testdata/scad/misc/inf-tests.scad new file mode 100644 index 0000000..87b6823 --- /dev/null +++ b/testdata/scad/misc/inf-tests.scad @@ -0,0 +1,23 @@ +echo(1/0); +echo(-1/0); +echo(sin(1/0)); +echo(cos(1/0)); +echo(tan(1/0)); +echo(asin(1/0)); +echo(acos(1/0)); +echo(atan(1/0)); +echo(atan(-1/0)); +echo(atan2(1/0, -1/0)); +echo(ceil(1/0)); +echo(floor(1/0)); +echo(exp(2, 1/0)); +echo(ln(1/0)); +echo(log(1/0)); +echo(max(-1/0, 1/0)); +echo(min(-1/0, 1/0)); +echo(pow(2, 1/0)); +echo(round(1/0)); +echo(sign(1/0)); +echo(sign(-1/0)); +echo(sqrt(1/0)); +echo(sqrt(-1/0));
\ No newline at end of file |