mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Test uvm32_getMemory() in a tautological manner
This commit is contained in:
parent
99c0925db5
commit
5667598427
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ void test_syscalls(void) {
|
||||||
uvm32_run(&vmst, &evt, 10000);
|
uvm32_run(&vmst, &evt, 10000);
|
||||||
TEST_ASSERT_EQUAL(evt.typ, UVM32_EVT_END);
|
TEST_ASSERT_EQUAL(evt.typ, UVM32_EVT_END);
|
||||||
TEST_ASSERT_EQUAL(true, uvm32_hasEnded(&vmst));
|
TEST_ASSERT_EQUAL(true, uvm32_hasEnded(&vmst));
|
||||||
|
|
||||||
|
TEST_ASSERT_EQUAL(vmst._memory, uvm32_getMemory(&vmst));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue