Searched refs:TEST_ENUM_0 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 31 #define TEST_ENUM_0 DT_NODELABEL(test_enum_0) macro 170 zassert_equal(DT_PROP_LEN(TEST_ENUM_0, val), 1, ""); in ZTEST() 1880 DT_FOREACH_PROP_ELEM(TEST_ENUM_0, val, BY_IDX_COMMA) in ZTEST() 2122 zassert_equal(DT_ENUM_IDX(TEST_ENUM_0, val), 0, "0"); in ZTEST() 2123 zassert_true(DT_ENUM_HAS_VALUE(TEST_ENUM_0, val, zero), ""); in ZTEST() 2124 zassert_false(DT_ENUM_HAS_VALUE(TEST_ENUM_0, val, one), ""); in ZTEST() 2125 zassert_false(DT_ENUM_HAS_VALUE(TEST_ENUM_0, val, two), ""); in ZTEST()
|