Add unit test for Struct_mallinfo2.__str__()

This commit is contained in:
Ryan Dick
2023-10-03 14:24:52 -04:00
parent 763dcacfd3
commit 519b892f0c
2 changed files with 9 additions and 1 deletions

View File

@ -50,6 +50,7 @@ class Struct_mallinfo2(ctypes.Structure):
)
s += f"{'fordblks': <10}= {(self.fordblks/2**30):15.5f} # Space in free blocks (non-mmapped) (GB)\n"
s += f"{'keepcost': <10}= {(self.keepcost/2**30):15.5f} # Top-most, releasable space (GB)\n"
return s
class LibcUtil: