Sha256: 47ef6f85d95fa4512633094f55f5ad3cb1b7760070c8952aa0a27c59d8f2ea6a

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

describe "Standard Library" do
  describe "cdr" do
    before :each do
      @interpreter = Flea::Interpreter.new
    end
    
    it "should return remainder of list" do
      result = @interpreter.run('
        (cdr (quote (10 2 2)))
      ')
      result.should == [2, 2]
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flea-0.1.0 spec/flea/standard_library/cdr_spec.rb