mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-23 02:52:13 +00:00
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
|