Sha256: f90f75665b797c37d7445ff81ce7229b0fa025cca3cbe1ed914444a209fed062
Contents?: true
Size: 286 Bytes
Versions: 62
Compression:
Stored size: 286 Bytes
Contents
# frozen_string_literal: true require "spec_helper" RSpec.describe Code::Object::List do [["[] == []", "true"], ["[1, 2, 3].sum", "6"]].each do |input, expected| it "#{input} == #{expected}" do expect(Code.evaluate(input)).to eq(Code.evaluate(expected)) end end end
Version data entries
62 entries across 62 versions & 1 rubygems