Added a few unit tests for kotlin operator examples.

This commit is contained in:
Ali Dehghani 2018-11-29 15:57:06 +03:30
parent ad8ae556a8
commit ef74a2538e
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package com.baeldung.operators
import java.math.BigInteger
import org.junit.Test
import kotlin.test.assertEquals
class UtilsTest {
@Test
fun `We should be able to add an int value to an existing BigInteger using +`() {
assertEquals(BigInteger.ZERO + 1, BigInteger.ONE)
}
}