[orx-shapes] Add explicit casting to Circle in tangent assertion for invertConformal tests

This commit is contained in:
Edwin Jakobs
2025-08-20 21:55:38 +02:00
parent 307b3fc282
commit fdcffd2756

View File

@@ -43,7 +43,7 @@ class TestCircleInvertConformal {
val inverted2 = invertingCircle.invertConformal(circle2) val inverted2 = invertingCircle.invertConformal(circle2)
// Verify that the inverted circles are also tangent // Verify that the inverted circles are also tangent
assertTrue(areTangent(inverted1, inverted2), "The inverted circles should remain tangent") assertTrue(areTangent(inverted1 as Circle, inverted2 as Circle), "The inverted circles should remain tangent")
} }
@Test @Test
@@ -64,7 +64,7 @@ class TestCircleInvertConformal {
val inverted2 = invertingCircle.invertConformal(circle2) val inverted2 = invertingCircle.invertConformal(circle2)
// Verify that the inverted circles are also tangent // Verify that the inverted circles are also tangent
assertTrue(areTangent(inverted1, inverted2), "The inverted circles should remain tangent") assertTrue(areTangent(inverted1 as Circle, inverted2 as Circle), "The inverted circles should remain tangent")
} }
@Test @Test