src/core/test/attribute-test-suite.cc
changeset 8765 b89660102b63
parent 7884 963d5bfe9c52
child 8996 d0e0a162a990
equal deleted inserted replaced
8749:4462ac63d4cf 8765:b89660102b63
   778   NS_TEST_ASSERT_MSG_EQ (map.GetN (), 1, "ObjectVectorValue \"TestMap1\" should be incremented");
   778   NS_TEST_ASSERT_MSG_EQ (map.GetN (), 1, "ObjectVectorValue \"TestMap1\" should be incremented");
   779 
   779 
   780   //
   780   //
   781   // Get the Object pointer from the value.
   781   // Get the Object pointer from the value.
   782   //
   782   //
   783   Ptr<Object> a = map.Get (0);
   783   Ptr<Object> a = map.Get (1);
   784   NS_TEST_ASSERT_MSG_NE (a, 0, "Ptr<Object> from VectorValue \"TestMap1\" is zero");
   784   NS_TEST_ASSERT_MSG_NE (a, 0, "Ptr<Object> from VectorValue \"TestMap1\" is zero");
   785 
   785 
   786   //
   786   //
   787   // Adding to the attribute shouldn't affect the value we already have.
   787   // Adding to the attribute shouldn't affect the value we already have.
   788   //
   788   //