libNbiotCore/test/serial_test.cpp
// Tests that the serial standard constructor is initialized with no error.
Tests that the serial standard constructor is initialized with no error.
Tests that the serial standard constructor is initialized with no error .
TEST(SerialTest, SerialStandardConstructor) {
    Serial s;
    EXPECT_EQ(((int) Serial::NoError), s.getError())
                        << "Serial should be initalized with NoError";
    EXPECT_EQ(0, s.getDebugPrefix());
}
TEST ( SerialTest , SerialStandardConstructor ) { Serial s ; EXPECT_EQ ( ( ( int ) Serial :: NoError ) , s . getError ( ) ) << " " ; EXPECT_EQ ( 0 , s . getDebugPrefix ( ) ) ; }
Tests that the serial standard constructor is initialized with no error.
Tests that the serial standard constructor is initialized with no error .