Skip to content

Commit ef74a25

Browse files
committed
Added a few unit tests for kotlin operator examples.
1 parent ad8ae55 commit ef74a25

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • core-kotlin/src/test/kotlin/com/baeldung/operators
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.baeldung.operators
2+
3+
import java.math.BigInteger
4+
import org.junit.Test
5+
import kotlin.test.assertEquals
6+
7+
class UtilsTest {
8+
9+
@Test
10+
fun `We should be able to add an int value to an existing BigInteger using +`() {
11+
assertEquals(BigInteger.ZERO + 1, BigInteger.ONE)
12+
}
13+
}

0 commit comments

Comments
 (0)