Exemplo n.º 1
0
} END

TEST(Telecom, Check_Abort_receiver) {
    Device samsungA6;
    Device lgspirit;
    Centre Relay_1(20);
    Relay_1.add_device(samsungA6);
    Relay_1.add_device(lgspirit);
    samsungA6.Call(10000002);
    lgspirit.Initiate_Abort();
    bool busy = lgspirit.Busy();
    std::cout<<std::endl;
    EXPECT_EQ(busy , 0);

} END
Exemplo n.º 2
0
 } END

TEST(Telecom, Is_Busy) {
    Device telo;
    EXPECT_EQ(false, telo.Busy());
 } END