only execute math tests if math feature is activated

This commit is contained in:
Daniel Bovensiepen
2012-06-21 15:01:39 +08:00
parent 162b3625d0
commit 8e89cd456c
+1 -1
View File
@@ -1,7 +1,7 @@
##
# Math Test
if MathEnabled
if Object.const_defined?(:Math)
assert('Math.sin 0') do
check_float(Math.sin(0), 0)
end