- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/sp/kx/math/implementation/entity/geometry/AssertUtil.kt:6:1Top level function assert should not be public
3 import sp.kx.math.foundation.entity.geometry.Point
4 import util.junit.assert
5
6 fun Point.assert(expected: Point, prefix: String) {
7 x.assert(expected.x, "${prefix}x")
8 y.assert(expected.y, "${prefix}y")
9 }
- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/sp/kx/math/implementation/entity/geometry/OffsetTest.kt:6:1Class OffsetTest should not be public
3 import org.junit.Test
4 import util.junit.assert
5
6 class OffsetTest {
7 @Test
8 fun toStringTest() {
9 val string = offsetOf(dX = 3.0, dY = 4.0).toString()
- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/sp/kx/math/implementation/entity/geometry/PointTest.kt:6:1Class PointTest should not be public
3 import org.junit.Test
4 import util.junit.assert
5
6 class PointTest {
7 @Test
8 fun toStringTest() {
9 val string = pointOf(x = 1.0, y = 2.0).toString()
- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/sp/kx/math/implementation/entity/geometry/PointUtilTest.kt:6:1Class PointUtilTest should not be public
3 import org.junit.Test
4 import util.junit.assert
5
6 class PointUtilTest {
7 @Test
8 fun updatedTest() {
9 val x = 1.0
- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/sp/kx/math/implementation/entity/geometry/VectorTest.kt:6:1Class VectorTest should not be public
3 import org.junit.Test
4 import util.junit.assert
5
6 class VectorTest {
7 @Test
8 fun toStringTest() {
9 val start = pointOf(x = 1.0, y = 2.0)
- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/util/junit/AssertUtil.kt:5:1Top level function assert should not be public
2
3 import org.junit.Assert.assertTrue
4
5 fun Double.assert(expected: Double, name: String) {
6 assertTrue("Expected \"$name\" is $expected, but actual is $this!", expected == this)
7 }
8
- /StanleyProjects/KotlinExtension.Math/repository/lib/src/test/kotlin/util/junit/AssertUtil.kt:9:1Top level function assert should not be public
6 assertTrue("Expected \"$name\" is $expected, but actual is $this!", expected == this)
7 }
8
9 fun String.assert(expected: String, name: String) {
10 assertTrue("Expected \"$name\" is \"$expected\", but actual is \"$this\"!", expected == this)
11 }
12