Sha256: edb03c74c8daf53effde916f86ba4f06685fe33917f7576f2f47e66a53597d78

Contents?: true

Size: 459 Bytes

Versions: 7

Compression:

Stored size: 459 Bytes

Contents

#
# testing ruote
#
# Fri Dec 18 19:19:07 JST 2009
#

require File.join(File.dirname(__FILE__), '..', 'functional', 'base')


class BmSeqThousandTest < Test::Unit::TestCase
  include FunctionalBase

  def test_empty_sequence

    n = 100

    pdef = Ruote.process_definition :name => 'test' do
      sequence do
        iterator :on => (1..n).to_a do
          echo 'a'
        end
      end
    end

    noisy

    assert_trace pdef, [ 'a' ] * n
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruote-2.1.7 test/bm/seq_thousand.rb
ruote-2.1.6 test/bm/seq_thousand.rb
ruote-2.1.5 test/bm/seq_thousand.rb
ruote-2.1.4 test/bm/seq_thousand.rb
ruote-2.1.3 test/bm/seq_thousand.rb
ruote-2.1.2 test/bm/seq_thousand.rb
ruote-2.1.1 test/bm/seq_thousand.rb