Skip to content

Commit

Permalink
Test: clang-format update
Browse files Browse the repository at this point in the history
  • Loading branch information
niwciu committed Jan 15, 2024
1 parent 6294d5f commit 1ab9e81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/lcd_hd44780/lcd_hd44780_test_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,21 @@ TEST(lcd_hd44780_init, WhenLcdInitThenLcdDataPinsLowAtFirstLog)
TEST(lcd_hd44780_init, GivenLcdInitWhenSetLcdBacklightOffThenLcdPinStatIsCorrect)
{
expected_buf_lenght = 0;
next_log_no=0;
next_log_no = 0;
mock_clear_LCD_Port_delay_dump_data();
clear_expected_LCD_Port_delay_dump_data();
next_log_no = define_expected_sequence_for_lcd_backlight_disable(0);
lcd_init();

expected_buf_lenght = (next_log_no) * (LOG_DATA_AMOUNT);
TEST_ASSERT_EQUAL_UINT16_ARRAY(expected_LCD_Port_delay_dump_data, mock_LCD_Port_delay_dump_data, expected_buf_lenght);

}
TEST(lcd_hd44780_init, GivenLcdInitWhenSetAllSignalsFor15msThenLcdPinStatIsCorrect)
{
// mock_clear_LCD_Port_delay_dump_data();
// clear_expected_LCD_Port_delay_dump_data();
// lcd_init();

next_log_no = define_expected_sequence_for_first_15_ms_delay(next_log_no);
expected_buf_lenght = (next_log_no) * (LOG_DATA_AMOUNT);

Expand Down

0 comments on commit 1ab9e81

Please sign in to comment.