~aleteoryx/muditaos

ref: a405cad694b867fcd2498984830bd97d4b9bde2f muditaos/module-cellular/modem/mux/tests/test-TS0710_DLC_ESTABL.cpp -rw-r--r-- 537 bytes
a405cad6Aleteoryx trim readme 8 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md

#include "catch.hpp"
#include "TS0710_DLC_ESTABL.h"

TEST_CASE("test-TS0710_DLC_ESTABL")
{
    TS0710_DLC_ESTABL *_class = new TS0710_DLC_ESTABL(0);
    REQUIRE(_class->getResponse() == true);
    delete _class;

    DLC_ESTABL_SystemParameters_t system_parameters;
    _class = new TS0710_DLC_ESTABL(0, system_parameters);
    REQUIRE(_class->getResponse() == true);
    delete _class;
}