Skip to content

Commit

Permalink
UnitTests: Accomodate for change in Unity.
Browse files Browse the repository at this point in the history
  • Loading branch information
ToveRumar committed Apr 9, 2024
1 parent 7b1dc99 commit ced8fdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions test/deck/core/test_deck_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ void testReadFromPrimaryDeckMemory() {
TEST_ASSERT_TRUE(read_isCalled);
TEST_ASSERT_EQUAL_UINT32(100, read_vAddr);
TEST_ASSERT_EQUAL_UINT8(30, read_len);
TEST_ASSERT_TRUE(actual)
TEST_ASSERT_TRUE(actual);
}

void testReadFromSecondaryDeckMemory() {
Expand All @@ -559,7 +559,7 @@ void testReadFromSecondaryDeckMemory() {
TEST_ASSERT_TRUE(read_isCalled);
TEST_ASSERT_EQUAL_UINT32(100, read_vAddr);
TEST_ASSERT_EQUAL_UINT8(30, read_len);
TEST_ASSERT_TRUE(actual)
TEST_ASSERT_TRUE(actual);
}

void testReadFromDeckWithoutReadFunction() {
Expand Down Expand Up @@ -603,7 +603,7 @@ void testWriteToPrimaryDeckMemory() {
TEST_ASSERT_TRUE(write_isCalled);
TEST_ASSERT_EQUAL_UINT32(100, write_vAddr);
TEST_ASSERT_EQUAL_UINT8(30, write_len);
TEST_ASSERT_TRUE(actual)
TEST_ASSERT_TRUE(actual);
}

void testWriteToSecondaryDeckMemory() {
Expand All @@ -621,7 +621,7 @@ void testWriteToSecondaryDeckMemory() {
TEST_ASSERT_TRUE(write_isCalled);
TEST_ASSERT_EQUAL_UINT32(100, write_vAddr);
TEST_ASSERT_EQUAL_UINT8(30, write_len);
TEST_ASSERT_TRUE(actual)
TEST_ASSERT_TRUE(actual);
}

void testWriteToSecondaryDeckMemoryPassesInMemDef() {
Expand Down
4 changes: 2 additions & 2 deletions test/modules/src/lighthouse/test_lighthouse_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void testThatOffsetIsDecodedInUartFrame() {
TEST_ASSERT_EQUAL_UINT32(expected, actual);

// Verify the padding data was not affected
TEST_ASSERT_TRUE(frameOk)
TEST_ASSERT_TRUE(frameOk);
}


Expand All @@ -187,7 +187,7 @@ void testThatBeamDataIsDecodedInUartFrame() {
TEST_ASSERT_EQUAL_UINT32(expected, actual);

// Verify the padding data was not affected
TEST_ASSERT_TRUE(frameOk)
TEST_ASSERT_TRUE(frameOk);
}

void testThatSensorIsDecodedInUartFrame() {
Expand Down

0 comments on commit ced8fdd

Please sign in to comment.