f81f673a78
Add a simple test case that imports the module and instantiates a new SlidingWindowMapManager class. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
7 lines
168 B
Python
7 lines
168 B
Python
# Taken from smmap/test/test_tutorial.py
|
|
|
|
import smmap
|
|
mman = smmap.SlidingWindowMapManager()
|
|
assert mman.num_file_handles() == 0
|
|
assert mman.mapped_memory_size() == 0
|