def skip_free_dirty_indecies(self): p = PageTable(1) a = write_memory_access_factory() p.insert_no_check(a) assert p.free_indecies(0) == 1 assert len(p) == 0
def skip_free_clean_indecies(self): p = PageTable(1) a = read_memory_access_factory() p.insert_no_check(a) assert p.free_indecies(0) == 0 assert len(p) == 0