test/agent_test.rb in y_petri-2.4.2 vs test/agent_test.rb in y_petri-2.4.3
- old
+ new
@@ -13,10 +13,10 @@
it "has net basic points" do
# --- net point related assets ---
@m.net_point_reset
@m.net_point_reset @m.world.net( :Top )
- @m.net.must_equal @m.world.Net::Top
+ @m.net.must_equal @m.world.Net.instance( :Top )
# --- simulation point related assets ---
@m.simulation_point.reset
@m.simulation.must_equal nil
@m.simulation_point.key.must_equal nil
# --- cc point related assets ---