From fdcffd2756fd5aad77e244aa5839c079cb6edf32 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Wed, 20 Aug 2025 21:55:38 +0200 Subject: [PATCH] [orx-shapes] Add explicit casting to `Circle` in tangent assertion for `invertConformal` tests --- orx-shapes/src/commonTest/kotlin/TestCircleInvertConformal.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orx-shapes/src/commonTest/kotlin/TestCircleInvertConformal.kt b/orx-shapes/src/commonTest/kotlin/TestCircleInvertConformal.kt index 321e7279..ec621f19 100644 --- a/orx-shapes/src/commonTest/kotlin/TestCircleInvertConformal.kt +++ b/orx-shapes/src/commonTest/kotlin/TestCircleInvertConformal.kt @@ -43,7 +43,7 @@ class TestCircleInvertConformal { val inverted2 = invertingCircle.invertConformal(circle2) // 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 @@ -64,7 +64,7 @@ class TestCircleInvertConformal { val inverted2 = invertingCircle.invertConformal(circle2) // 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