Sha256: f8f09e82fcbe0bbe0e395c4e1d3b7afadcacbd3fe8e4ab9f26db205d58a70ebe
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true require 'tataru' describe Tataru::Instructions::InitInstruction do it 'sets hashes' do instr = Tataru::Instructions::InitInstruction.new mem = Tataru::Memory.new instr.memory = mem instr.run expect(mem.hash.key? :remote_ids).to eq true expect(mem.hash.key? :outputs).to eq true expect(mem.hash.key? :labels).to eq true expect(mem.hash.key? :deleted).to eq true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tataru-0.2.0 | spec/instructions/init_instruction_spec.rb |