Sha256: bfd52ce620b0c4390f23b27329438063371b343e921184bdf62869ee03be7157
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
describe Skip do let(:context) { ProgramExecutionContext.for Program.new([], nil) } it "evaluates and does nothing" do Skip.new.evaluate context expect(context.head.x_pos).to eq(0) expect(context.head.y_pos).to eq(0) expect(context.head.board).to be_empty end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gobstones-0.0.1.1 | spec/lang/commands/skip_cmd_spec.rb |