Sha256: b150a404edc31589323c3e01e05404785954213a5be59ff5adb9ff9409092679

Contents?: true

Size: 378 Bytes

Versions: 8

Compression:

Stored size: 378 Bytes

Contents

module DeepTest
  class SimpleTestBlackboard
    def initialize
      @test_cases = []
      @test_results = []
    end

    def take_result
      @test_results.shift
    end

    def take_test
      @test_cases.shift
    end

    def write_result(result)
      @test_results.push result
    end

    def write_test(test_case)
      @test_cases.push test_case
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
deep_test-1.1.2 lib/deep_test/simple_test_blackboard.rb
deep_test-1.0.0 lib/deep_test/simple_test_blackboard.rb
deep_test-1.0.1 lib/deep_test/simple_test_blackboard.rb
deep_test-1.0.2 lib/deep_test/simple_test_blackboard.rb
deep_test-1.0.3 lib/deep_test/simple_test_blackboard.rb
deep_test-1.0.4 lib/deep_test/simple_test_blackboard.rb
deep_test-1.1.0 lib/deep_test/simple_test_blackboard.rb
deep_test-1.1.1 lib/deep_test/simple_test_blackboard.rb