| /* main.c - Application main entry point */ | |
| /* | |
| * Copyright (c) 2015-2016 Intel Corporation | |
| * | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| #include <zephyr/types.h> | |
| #include <stddef.h> | |
| #include <sys/printk.h> | |
| #include <ztest.h> | |
| #include <bluetooth/bluetooth.h> | |
| void test_init(void) | |
| { | |
| zassert_false(bt_enable(NULL), "Bluetooth init failed"); | |
| } | |
| /*test case main entry*/ | |
| void test_main(void) | |
| { | |
| ztest_test_suite(test_bluetooth, | |
| ztest_unit_test(test_init)); | |
| ztest_run_test_suite(test_bluetooth); | |
| } |