initial commit

This commit is contained in:
2025-11-26 18:58:15 +08:00
commit 3ec494ca69
168 changed files with 16142 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package com.icegps.math.geometry
import kotlin.test.Test
/**
* @author tabidachinokaze
* @date 2025/10/28
*/
class AngleTest {
@Test
fun testAngle() {
val angle = 90.degrees
println(angle)
println(angle.degrees)
val angle1 = 1.9.radians
println(angle1)
println(angle1.radians)
println(angle1.degrees)
}
}

View File

@@ -0,0 +1,15 @@
package com.icegps.math.geometry
import kotlin.test.Test
/**
* @author tabidachinokaze
* @date 2025/10/19
*/
class EulerRotationTest {
@Test
fun testEulerRotation() {
val eulerRotation = EulerRotation(12.degrees, 12.degrees, 12.degrees)
println(eulerRotation)
}
}

View File

@@ -0,0 +1,15 @@
package com.icegps.number
import com.icegps.math.geometry.degrees
import kotlin.test.Test
/**
* @author tabidachinokaze
* @date 2025/10/19
*/
class NiceStrTest {
@Test
fun testNiceStr() {
println((12.0 / 12.1).degrees.degrees.niceStr(2))
}
}