FrameFreeSlotLastFit implements IFrameFreeSlotPolicy { @Override public void reset() { size = 0; for (int i = frameSpaces.length - 1; i >= 0; i--) { frameSpaces[i] = null; } } FrameFreeSlotLastFit(int initialFrameNumber);  FrameFreeSlotLastFit(); @Override int popBestFit(int tobeInsertedSize); @Override void pushNewFrame(int frameID, int freeSpace); @Override void reset();  }
@Test public void testReset() throws Exception { testPushAndPop(); zeroPolicy.reset(); unifiedPolicy.reset(); ascPolicy.reset(); dscPolicy.reset(); testPushAndPop(); }