Go to the source code of this file.
◆ TEST_F() [1/3]
Definition at line 78 of file subaddress.cpp.
79{
80 std::string label = "test adding subaddress";
81 w1.add_subaddress(0, label);
82 EXPECT_EQ(label, w1.get_subaddress_label({0, 1}));
83}
#define EXPECT_EQ(val1, val2)
◆ TEST_F() [2/3]
◆ TEST_F() [3/3]
Definition at line 85 of file subaddress.cpp.
86{
87 try
88 {
89 w1.get_subaddress_label({1,0});
90 }
91 catch(const std::exception& e)
92 {
94 }
95 try
96 {
97 w1.get_subaddress_label({0,2});
98 }
99 catch(const std::exception& e)
100 {
102 }
103}
#define EXPECT_STREQ(s1, s2)