Sha256: 1b62370ce6bfdc105c548e77a9c21ac705b8a574bbbf5fa4b89f205b9d3c2789

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

describe IrAlOrigen do

  let(:context) { clean_context }

  it "puts the head in 0, 0 when evaluating" do
    context.head.move_north
    context.head.move_east
    ir_al_origen = IrAlOrigen.new

    ir_al_origen.evaluate context

    expect(context.head.x_pos).to eq(0)
    expect(context.head.y_pos).to eq(0)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gobstones-0.0.2 spec/lang/commands/ir_al_origen_cmd_spec.rb