test/ft_11_ppd.rb in openwferu-0.9.15 vs test/ft_11_ppd.rb in openwferu-0.9.16
- old
+ new
@@ -42,16 +42,12 @@
end
end
end
def test_ppd_0
- #def xxxx_ppd_0
- dotest(
- TestDefinition0,
- """a
-b
-c""")
+
+ dotest TestDefinition0, "a\nb\nc"
end
#
# Test 1
@@ -180,29 +176,18 @@
end
end
""".strip
def test_ppd_4
- #def xxxx_ppd_4
s = TestDefinition4.do_make.to_code_s
- #puts
- #puts s
- #puts
- #puts TestDefinition4.do_make(ExpressionMap.new(nil, nil)).to_s
-
dotest(
TestDefinition4,
- """
-a
-b
- """.strip,
- 0.300)
+ "a\nb")
+ #0.300)
- assert \
- s == CODE4,
- "nested sequences test failed (4)"
+ assert_equal CODE4, s, "nested sequences test failed (4)"
end
#
# Test 5