Beispiel #1
0
        public void Equal_GetHashCode_ToString(int x1, int y1, int x2, int y2, bool expectedResult)
        {
            // Arrange
            var p1 = new Position(x1, y1);
            var p2 = new Position(x2, y2);

            CommonTest.TestOverridedObjectMethods(expectedResult, p1, p2);
        }
Beispiel #2
0
        public void Equal_GetHashCode_ToString_NoCost(int v1, int v2, int v3, int v4, bool expectedResult)
        {
            // Arrange
            var p1 = GetEdge(v1, v2);
            var p2 = GetEdge(v3, v4);

            CommonTest.TestOverridedObjectMethods(expectedResult, p1, p2);
        }