Esempio n. 1
0
 public void Constructor_TwoDimensions_SurfaceCreated(int x, int y)
 {
     var result = new Surface(x, y);
     Assert.AreEqual(result.X, x);
     Assert.AreEqual(result.Y, y);
 }
Esempio n. 2
0
 public void SetUp()
 {
     _testedSurface = new Surface(5, 5);
     _simpleSurface = new Surface(3, 3);
     _emptySurface = new Surface(3, 3);
 }
Esempio n. 3
0
 internal Surface Evolve(Surface _testedSurface)
 {
     return new Surface(_testedSurface.X, _testedSurface.Y);
 }