From ac3e97014885af00b5a2eb01df232221482db023 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 20 Mar 2010 15:55:52 -0400 Subject: Support max() and min(). --- tests/dimension/arithexp.pov | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/dimension/arithexp.pov b/tests/dimension/arithexp.pov index c891b1c..d25be7d 100644 --- a/tests/dimension/arithexp.pov +++ b/tests/dimension/arithexp.pov @@ -100,6 +100,14 @@ sphere { #error "log" #end +#if (max(-1.5, 0, 1) != 1) + #error "max" +#end + +#if (min(-1.5, 0, 1) != -1.5) + #error "min" +#end + #if (mod(3.5, 2) != 1.5) #error "mod" #end -- cgit v1.2.3