equal
deleted
inserted
replaced
92 num = interface->GetNAddresses (); |
92 num = interface->GetNAddresses (); |
93 NS_TEST_ASSERT_MSG_EQ (num, 3, "Should find 3 interfaces??"); |
93 NS_TEST_ASSERT_MSG_EQ (num, 3, "Should find 3 interfaces??"); |
94 Ipv4InterfaceAddress output = interface->GetAddress (2); |
94 Ipv4InterfaceAddress output = interface->GetAddress (2); |
95 NS_TEST_ASSERT_MSG_EQ (ifaceAddr4, output, |
95 NS_TEST_ASSERT_MSG_EQ (ifaceAddr4, output, |
96 "The addresses should be identical"); |
96 "The addresses should be identical"); |
97 |
97 Simulator::Destroy (); |
98 return false; |
98 return false; |
99 } |
99 } |
100 |
100 |
101 static class IPv4L3ProtocolTestSuite : public TestSuite |
101 static class IPv4L3ProtocolTestSuite : public TestSuite |
102 { |
102 { |