equal
deleted
inserted
replaced
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 // |