Sha256: 9a6504c4070a1028772b5e7f1499db24478159cc04d65580151fd7930cc1e127
Contents?: true
Size: 435 Bytes
Versions: 5
Compression:
Stored size: 435 Bytes
Contents
require 'spec_helper' describe "The language" do include Trxl::SpecHelper before(:each) do @parser = Trxl::Calculator.new end it "should evaluate the constant 'NULL' to nil" do eval("NULL").should be_nil end it "should evaluate the constant 'TRUE' to true" do eval("TRUE").should be_true end it "should evaluate the constant 'FALSE' to false" do eval("FALSE").should be_false end end
Version data entries
5 entries across 5 versions & 1 rubygems