Test/stack_test.rb in maroon-0.6.5 vs Test/stack_test.rb in maroon-0.7.0

- old
+ new

@@ -1,17 +1,16 @@ require 'test/unit' require_relative '../generated/ImmutableStack' -ImmutableStack.new nil,nil class Stack_Test < Test::Unit::TestCase def test_push_pop stack = ImmutableStack.empty.push(1) stack = stack.push 2 - f,stack = stack.pop - s,stack = stack.pop - assert_equal(2,f) - assert_equal(1,s) - assert_equal(stack,ImmutableStack::empty) + f, stack = stack.pop + s, stack = stack.pop + assert_equal(2, f) + assert_equal(1, s) + assert_equal(stack, ImmutableStack::empty) end end \ No newline at end of file