Exemplo n.º 1
0
 public void TestRadarController()
 {
     try{
         RadarController rc = new RadarController();
         rc.Start();
         Collider c1 = new Collider();
         rc.OnTriggerEnter(c1);
         Collider c2 = new Collider();
         rc.OnTriggerExit(c2);
     }catch (Exception e) {
         //Something went wrong
         Assert.True(false, "error " + e.ToString());
         //Assert.True(false);
     }
 }
Exemplo n.º 2
0
 public void TestRadarController()
 {
     try{
         RadarController rc = new RadarController();
         rc.Start();
         Collider c1 = new Collider();
         rc.OnTriggerEnter(c1);
         Collider c2 = new Collider();
         rc.OnTriggerExit(c2);
     }catch(Exception e) {
         //Something went wrong
         Assert.True(false,"error "+e.ToString());
         //Assert.True(false);
     }
 }