Sha256: 684812f7cb02e0659308afad76c7ce538239d393f21af098b950a2173b57a3f8

Contents?: true

Size: 459 Bytes

Versions: 10

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 [ 'a' ] * n, pdef
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ruote-2.3.0.3 test/bm/seq_thousand.rb
ruote-maestrodev-2.2.1 test/bm/seq_thousand.rb
ruote-2.3.0.2 test/bm/seq_thousand.rb
ruote-2.3.0.1 test/bm/seq_thousand.rb
ruote-2.3.0 test/bm/seq_thousand.rb
ruote-2.2.0 test/bm/seq_thousand.rb
ruote-2.1.11 test/bm/seq_thousand.rb
ruote-2.1.10 test/bm/seq_thousand.rb
ruote-2.1.9 test/bm/seq_thousand.rb
ruote-2.1.8 test/bm/seq_thousand.rb