1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 20:44:26 +01:00

Modified some header documentation.

This commit is contained in:
Matias Fontanini
2013-10-07 23:31:22 -03:00
parent b6a55935b4
commit 6dd949611d
10 changed files with 36 additions and 43 deletions

View File

@@ -81,12 +81,6 @@ TEST_F(ICMPTest, Type) {
EXPECT_EQ(icmp.type(), ICMP::ECHO_REPLY);
}
TEST_F(ICMPTest, Checksum) {
ICMP icmp;
icmp.check(0x31fd);
EXPECT_EQ(icmp.check(), 0x31fd);
}
TEST_F(ICMPTest, Gateway) {
ICMP icmp;
icmp.gateway(0x31fdb5cd);
@@ -198,6 +192,7 @@ TEST_F(ICMPTest, Serialize) {
ICMP icmp2(icmp1);
PDU::serialization_type buffer2 = icmp2.serialize();
EXPECT_EQ(buffer, buffer2);
}