test/simulation_test.rb in y_petri-2.1.26 vs test/simulation_test.rb in y_petri-2.1.30
- old
+ new
@@ -54,9 +54,10 @@
@s.send( :place, :B )
.must_be_kind_of YPetri::Simulation::PlaceRepresentation
@s.net.places.names.must_equal [:A, :B]
@s.pn.must_equal [:A, :B]
@s.send( :places ).free.size.must_equal 1
+ @s.send( :places ).first.quantum.must_equal 1
@s.send( :free_places ).names.must_equal [:A]
@s.send( :places ).clamped.size.must_equal 1
@s.send( :clamped_places ).names.must_equal [:B]
@s.send( :places, [:A] ).map( &:source ).must_equal [@p]
@s.send( :transitions, [] ).must_equal []