using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnitTestSharp; using Core; namespace CoreTests { public class RobotTests : TestFixture { public void TestIDAssignment() { Robot[] robots = new Robot[10]; for (int i = 0; i < robots.Length; i++) { robots[i] = new Robot(); } for (int i = 0; i < robots.Length; i++) { CheckEqual(i, robots[i].MyID); } } } }