Sha256: 65ff7372fa2a972c6124eee5f0a04c3a4ec7c72dfb05c56c43995be715dbf5fa
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
require 'spec_helper' module Alf describe TupleComputation, "empty?" do subject{ comp.empty? } context 'when not empty' do let(:comp){ TupleComputation[big?: ->{}, who: ->{}] } it{ should be_false } end context 'when empty' do let(:comp){ TupleComputation[{}] } it{ should be_true } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-types/tuple_computation/test_empty.rb |