From e09c4ee6e7fc3a45acd7805932deb239702a72ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Tue, 23 Dec 2025 18:19:34 +0100 Subject: [PATCH] test(progress): Improve coverage --- .../commonTest/kotlin/SimpleLoadingImplementationTest.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/progress/src/commonTest/kotlin/SimpleLoadingImplementationTest.kt b/progress/src/commonTest/kotlin/SimpleLoadingImplementationTest.kt index 6a1388e..dd87ee0 100644 --- a/progress/src/commonTest/kotlin/SimpleLoadingImplementationTest.kt +++ b/progress/src/commonTest/kotlin/SimpleLoadingImplementationTest.kt @@ -100,5 +100,14 @@ val SimpleLoadingImplementationTest by preparedSuite { check(loading(0.0) != loading(0.7)) check(loading(0.0) != Unit) } + + test("Nullability") { + check(!loading(0.0).equals(null)) + } + + test("Same reference") { + val l = loading(0.0) + check(l == l) + } } } -- 2.51.2