feat(sacn): Slotzahl je Board und vier Settings-Felder
This commit is contained in:
@@ -106,6 +106,13 @@ static void test_known_values_from_old_firmware(void)
|
||||
TEST_ASSERT_EQUAL_INT8(3, g95->pwm[NL_CH_WW].pwm_ch);
|
||||
}
|
||||
|
||||
static void test_dmx_slots(void)
|
||||
{
|
||||
TEST_ASSERT_EQUAL_UINT8(6, nl_board_dmx_slots(nl_board_find("gu10_rgb")));
|
||||
TEST_ASSERT_EQUAL_UINT8(3, nl_board_dmx_slots(nl_board_find("g95_cw")));
|
||||
TEST_ASSERT_EQUAL_UINT8(6, nl_board_dmx_slots(nl_board_find("evk")));
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
UNITY_BEGIN();
|
||||
@@ -115,5 +122,6 @@ int main(void)
|
||||
RUN_TEST(test_pwm_boards_consistent);
|
||||
RUN_TEST(test_sm_boards_consistent);
|
||||
RUN_TEST(test_known_values_from_old_firmware);
|
||||
RUN_TEST(test_dmx_slots);
|
||||
return UNITY_END();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user