Skip to content
Snippets Groups Projects
Commit 2f25f8da authored by Lars Kanis's avatar Lars Kanis
Browse files

add test for Fox.fxTraceLevel

parent ccf7b125
No related branches found
No related tags found
No related merge requests found
......@@ -143,15 +143,19 @@ class TC_Misc < Test::Unit::TestCase
assert_in_delta(1.0, s, DELTA)
assert_in_delta(1.0, v, DELTA)
end
def test_fxversion
assert_instance_of(String, Fox.fxversion)
end
def test_fxrubyversion
assert_instance_of(String, Fox.fxrubyversion)
end
def test_fxTraceLevel
old = Fox.fxTraceLevel
Fox.fxTraceLevel = 10
assert_equal 10, Fox.fxTraceLevel
Fox.fxTraceLevel = old
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment