-- BTreeSimpleTest.cm
-- Commands for hand-testing BTreeSimple. This command file is not intended
-- to be executed sequentially in its entirety.

run BTreeSimpleImpl BTreeSimpleTestImpl
interp

%AMModelContextImpl.worldGFNameList ← NIL

&sgf[BTreeSimpleTestImpl]

[] ← Create[]

validateEveryUpdate ← TRUE;
validateEveryUpdate ← FALSE;

Time[1000]

%BTreeSimple.GetState[myTree]
%BTreeSimple.GetStatistics[myTree]

FindMissingEntries[]
EnumerateBackward[FALSE]
EnumerateBackward[TRUE]

Destroy[]