blob: 1a6446b39932b93cb86bf8fe17342d7d33b9bd73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package space.autistic.radio.complex
import org.joml.Vector2f
import org.junit.jupiter.api.Assertions.*
import space.autistic.radio.client.complex.I
import space.autistic.radio.client.complex.cmul
import kotlin.test.Test
class ComplexKtTest {
@Test
fun testI() {
assertEquals(I.cmul(I), Vector2f(-1f, 0f))
assertNotSame(I, I)
}
}
|