Sha256: 81e849d014415c6f1652c150350127f4de34c0721b60da10e4e1aa119a4a080f
Contents?: true
Size: 550 Bytes
Versions: 2
Compression:
Stored size: 550 Bytes
Contents
require "test_helper" class Busted::StackTest < MiniTest::Unit::TestCase def test_lifo_with_one_set_of_counts stack = Busted::Stack.new stack.started = 1 stack.finished = 1 assert_equal 1, stack.started assert_equal 1, stack.finished end def test_lifo_with_three_sets_of_counts stack = Busted::Stack.new stack.started = 1 stack.started = 2 stack.started = 3 stack.finished = 1 stack.finished = 2 stack.finished = 3 assert_equal 3, stack.started assert_equal 3, stack.finished end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
busted-0.2.3 | test/busted/stack_test.rb |
busted-0.2.2 | test/busted/stack_test.rb |