Sha256: 2818626c984eaf0b84e00811d4970c65ed19a640722e9a445a473ce8d2695994
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 Bytes
Contents
require 'spec_helper.rb' require 'local_tuple_space.rb' describe "Local Tuple Space" do before(:each) do @t=LocalTupleSpaceApp.new(nil,{}) end it "should not lend twice" do TestBed::testbeds.should == [] @t.store(:a,[]) a=@t.lend(:a) a<<1 b=@t.lend(:a) a.should_not be_nil b.should be_nil @t.store(:a,a) b=@t.lend(:a) a<<2 b.should_not be_nil @t.store(:a,b) a<<3 b.should == [1] TestBed::testbeds.should == [] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appswarm-0.0.1 | apps/local_tuple_space/spec/tuple_space_spec.rb |