libNbiotCore/test/serial_test.cpp
// Tests if debug prefix can be set
Tests if debug prefix can be set
Tests if debug prefix can be set
TEST(SerialTest, SetDebugPrefix) {
    int dbgprf = 1;
    Serial s(dbgprf);
    EXPECT_EQ(1, s.getDebugPrefix());
    s.setDebugPrefix(dbgprf + 1);
    EXPECT_EQ(dbgprf + 1, s.getDebugPrefix());
}
TEST ( SerialTest , SetDebugPrefix ) { int dbgprf = 1 ; Serial s ( dbgprf ) ; EXPECT_EQ ( 1 , s . getDebugPrefix ( ) ) ; s . setDebugPrefix ( dbgprf + 1 ) ; EXPECT_EQ ( dbgprf + 1 , s . getDebugPrefix ( ) ) ; }
Tests if debug prefix can be set
Tests if debug prefix can be set