예제 #1
0
 public void Init()
 {
     Logger.Clear();
     inputStream = EventTestingUtilities.BuildStream(ExpectedID);
     goalComs.SetStream(inputStream);
     pickupEvent = new PickupEvent();
 }
예제 #2
0
        public void NewExitEventTest()
        {
            goalComs.SetStream(exitInputStream);
            INaoEvent result = NaoEventFactory.NewEvent(
                (byte)EventCode.Exit);

            Assert.IsInstanceOf(typeof(ExitEvent), result);
        }
예제 #3
0
 public void TearDown()
 {
     goalComs.SetStream(emptyStream);
     EventTestingUtilities.DisconnectWebots();
 }