public void TestCalculationTriangleCoordinates() { var item = new GridItem { Column = 8, Row = 3 }; // row = C var controller = new GeometryController(); var result = controller.CalculateTriangleCoordinates(item); Assert.AreEqual(result.Count, 3); Assert.IsTrue(result.Any(obj => obj.X == 30 && obj.Y == -20)); Assert.IsTrue(result.Any(obj => obj.X == 40 && obj.Y == -20)); Assert.IsTrue(result.Any(obj => obj.X == 40 && obj.Y == -30)); }