method
test_11_31
v1_8_7_72 -
Show latest stable
- Class:
StrictPrettyExample
test_11_31()public
No documentation available.
# File lib/prettyprint.rb, line 766
def test_11_31
expected = "if a == b\nthen a << 2\nelse a + b\n".chomp
assert_equal(expected, prog(11))
assert_equal(expected, prog(15))
assert_equal(expected, prog(31))
end