const testingCheckpoint … func TestCheckpointStateRestore(t *testing.T) { … } func TestCheckpointStateStore(t *testing.T) { … } func TestCheckpointStateHelpers(t *testing.T) { … } func TestCheckpointStateClear(t *testing.T) { … } func AssertStateEqual(t *testing.T, sf State, sm State) { … }