1 /*
2  * Copyright (c) 2024 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/ztest.h>
8 #include <stdlib.h>
9 
10 ZTEST_SUITE(ztest_params, NULL, NULL, NULL, NULL, NULL);
11 
ZTEST(ztest_params,test_dummy)12 ZTEST(ztest_params, test_dummy)
13 {
14 	printf("Dummy test\n");
15 }
16 
ZTEST_P(ztest_params,test_int_param)17 ZTEST_P(ztest_params, test_int_param)
18 {
19 	if (data != NULL) {
20 		printf("Passed int value:%d\n", atoi(data));
21 	} else {
22 		printf("Run without parameter\n");
23 	}
24 }
25 
ZTEST_P(ztest_params,test_string_param)26 ZTEST_P(ztest_params, test_string_param)
27 {
28 	if (data != NULL) {
29 		printf("Passed string:%s\n", (char *)data);
30 	} else {
31 		printf("Run without parameter\n");
32 	}
33 }
34