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

- old
+ new

@@ -1,18 +1,18 @@ require 'test/unit' require_relative '../generated/ImmutableQueue' +require_relative '../Test/test_helper' - class ImmutableQueueTest < Test::Unit::TestCase def test_sunny queue = ImmutableQueue::empty.push 1 queue = queue.push(2) - f,queue = queue.pop() + f, queue = queue.pop() refute_nil(queue) - s,queue = queue.pop() - assert_equal(1,f) - assert_equal(2,s) + s, queue = queue.pop() + assert_equal(1, f) + assert_equal(2, s) assert_equal(ImmutableQueue::empty, queue) end end \ No newline at end of file