We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fa1b2b commit e3c073dCopy full SHA for e3c073d
jcalc/src/test/java/cu/lt/joe/jcalc/JCalcTest.java
@@ -1,13 +1,20 @@
1
package cu.lt.joe.jcalc;
2
3
import static org.junit.jupiter.api.Assertions.assertEquals;
4
+import static org.junit.jupiter.api.Assertions.assertNull;
5
import static org.junit.jupiter.api.Assertions.assertThrows;
6
import org.junit.jupiter.api.Test;
7
import org.junit.jupiter.params.ParameterizedTest;
8
import org.junit.jupiter.params.provider.CsvFileSource;
9
10
public class JCalcTest
11
{
12
+ @Test
13
+ void testNullResult()
14
+ {
15
+ assertNull(JCalc.solveMathExpression(null));
16
+ }
17
+
18
@Test
19
void testIllegalArgumentException()
20
0 commit comments