test/simulation_test.rb in y_petri-2.1.12 vs test/simulation_test.rb in y_petri-2.1.16
- old
+ new
@@ -250,11 +250,10 @@
end # TS transition
end # transition representation aspects
end
end
-
describe "timeless simulation" do
before do
self.class.class_exec { include YPetri }
U = Place m!: 2.5
V = Place m!: 2.5
@@ -296,10 +295,9 @@
.must_equal( ds.net.State.features marking: [:U], firing: [:U2V] )
tmp.must_equal( { 0 => [2.5, 1], 1 => [2.5, 1], 2 => [2.5, 1],
3 => [2.5, 1], 4 => [2.5, 1], 5 => [2.5, 1] } )
end
end
-
describe "timed simulation" do
before do
self.class.class_exec { include YPetri }
A = Place m!: 0.5