~aleteoryx/muditaos

ref: 0823d82e5141f44812c54debf07245d0ca746124 muditaos/module-cellular/Modem/TS0710/tests/test-TS0710_START.cpp -rw-r--r-- 399 bytes
0823d82e — Radoslaw Wicik [EGD-3743] Update copyrights in fies - add empty line after license 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "catch.hpp"
#include "TS0710_START.h"
TEST_CASE("test-TS0710_START")
{
    TS0710_START::START_SystemParameters_t system_parameters;
    TS0710_START *_class = new TS0710_START(TS0710_START::Mode_e::Basic, system_parameters);

    // wait for confirmation
    REQUIRE(_class->ConnectionStatus() == true);
    REQUIRE(_class->getCtrlChannel()->getName() == "Control");

    delete _class;
}