Example #1
0
 // Note: a new UnitTest1 object is created for each and every test that runs
 public UnitTest1()
 {
     this.rand = new Random();
     // TODO: Add ITestSticks.cs to your GameOfSticks project, and have your AI class implement that interface
     // TODO: create a new instance of your AI class
     this.ai = new AI();
     // TODO: if you have additional setup (e.g. .StartGame() method to call), put that code here
 }
Example #2
0
 public UnitTest1()
 {
     this.rand = new Random();
     this.ai   = new ArtificalIntelligence();
 }