Skip to content

Commit 6b4367a

Browse files
committed
Add a test for $SystemMemory, MemoryAvailable[]...
and MemoryInUse[] P.S. I think MemoryInUse is not quite right.
1 parent df81cb5 commit 6b4367a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

mathics/builtin/system.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,10 @@ class MemoryAvailable(Builtin):
485485
486486
>> MemoryAvailable[]
487487
= ...
488+
489+
The relationship between $SystemMemory, MemoryAvailable, and MemoryInUse:
490+
>> $SystemMemory > MemoryAvailable[] > MemoryInUse[]
491+
= True
488492
"""
489493

490494
def apply(self, evaluation) -> Integer:

0 commit comments

Comments
 (0)