..
This commit is contained in:
@@ -72,5 +72,12 @@ TEST(UtilsTest, RingBufferWorks)
|
||||
EXPECT_TRUE(buffer.isFull());
|
||||
}
|
||||
|
||||
TEST(UtilsTest,getBurstLengthInBytesWorks)
|
||||
{
|
||||
tlm::tlm_generic_payload payload;
|
||||
payload.set_data_length(4);
|
||||
EXPECT_EQ(4,getBurstLengthInBytes(payload,128));
|
||||
}
|
||||
|
||||
} /* namespace controller */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user