test/raw_prog_test.rb in openwferu-0.9.7 vs test/raw_prog_test.rb in openwferu-0.9.8
- old
+ new
@@ -182,9 +182,15 @@
#puts TestDefinition3.do_make.to_code_s
assert \
TestDefinition3.do_make.to_code_s == CODE_DEF3,
"to_code_s() not working properly (3)"
+
+ r = OpenWFE::SimpleExpRepresentation.from_xml(s)
+ #puts r.class.name
+ #puts r.to_code_s
+
+ assert_equal r.to_code_s, CODE_DEF3
end
#
# TEST 4