Initialize() 공개 메소드

public Initialize ( AbstractMachineState state ) : void
state AbstractMachineState
리턴 void
예제 #1
0
        public void Initialize()
        {
            AMHeap heap = new AMHeap();
            AbstractMachineState state = new AbstractMachineState(new AMFactory());

            heap.Initialize(state);

            Assert.IsNull(heap.H);
            Assert.IsNull(heap.Top());
        }