Skip to content

Commit d83ede4

Browse files
committed
adicionados teste unitário TestLiteralInt
1 parent 48af60a commit d83ede4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package liquidjava.rj_language;
2+
3+
import static org.junit.Assert.assertNotEquals;
4+
import org.junit.Test;
5+
import liquidjava.rj_language.ast.LiteralInt;
6+
7+
public class TestLiteralInt {
8+
@Test
9+
public void testLiteralString() {
10+
LiteralInt n1 = new LiteralInt(8);
11+
LiteralInt n2 = new LiteralInt(2);
12+
assertNotEquals(n1.hashCode(), n2.hashCode());
13+
}
14+
}

0 commit comments

Comments
 (0)