Sha256: 5bb33d7fa11771b9b43550acdee0658dcc466ccf1052e0d92512d01c62f4a72d

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 Bytes

Contents

require_relative '../test-util'
require_relative 'tuple-behavior'

describe 'Pione::Tuple::TaskTuple' do
  before do
    domain = "A"
    data = Tuple[:data].new(domain, "a.txt", Location["local:/home/keita/"], Time.now)

    @rule_path = "main_Main"
    @inputs = [data]
    @params = Parameters.new(Model::Variable.new("X") => Model::PioneInteger.new(1))
    @features = Feature.empty
    @domain = domain
    @call_stack = []

    args = [@rule_path, @inputs, @params, @features, @domain, @call_stack]
    @tuple = Tuple::TaskTuple.new(*args)
  end

  behaves_like "tuple"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.2.2 test/tuple/spec_task-tuple.rb
pione-0.2.1 test/tuple/spec_task-tuple.rb
pione-0.2.0 test/tuple/spec_task-tuple.rb