Chervil is a toy Lisp interpreter written in Ruby
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

number_spec.rb 151B

1234567
  1. module Chervil
  2. RSpec.describe AST::Number do
  3. it 'evaluates' do
  4. expect(AST::Number.new(5.0).evaluate(Env.new)).to eq(5.0)
  5. end
  6. end
  7. end