2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[2325] Option7 IA unittest improvement.

This commit is contained in:
Tomek Mrugalski
2012-12-11 15:13:58 +01:00
parent d6fb00a319
commit 1f943baf94

View File

@@ -109,7 +109,13 @@ TEST_F(Option6IATest, basic) {
} }
TEST_F(Option6IATest, simple) { TEST_F(Option6IATest, simple) {
Option6IA * ia = new Option6IA(D6O_IA_NA, 1234); Option6IA* ia = new Option6IA(D6O_IA_NA, 1234);
// Check that the values are really different than what we are about
// to set them to.
EXPECT_NE(2345, ia->getT1());
EXPECT_NE(3456, ia->getT2());
ia->setT1(2345); ia->setT1(2345);
ia->setT2(3456); ia->setT2(3456);