test/etest_assertions.rb in etest-0.4.2 vs test/etest_assertions.rb in etest-0.6.0
- old
+ new
@@ -1,4 +1,15 @@
+module Etest::ComparisonAssertions::Etest
+ # I don't know how to test asserts. This, at least, give (fake) C0 coverage
+ def test_comparision_assertions
+ assert_lt 1, 2
+ assert_le 1, 1
+ assert_ge 2, 2
+ assert_gt 2, 1
+ assert_eq 2, 2
+ assert_ne 1, 2
+ end
+end
module Etest::Assertions::Etest
#
# this actually tests the existance of an assertion and one successful
# assertion, nothing less, and nothing more...