source: src/test/java/list/TupleTest.java@ 126

Last change on this file since 126 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 344 bytes
Line 
1package list;
2
3import static org.junit.Assert.assertEquals;
4
5import org.junit.Test;
6
7import genius.core.list.Tuple;
8
9public class TupleTest {
10
11 @Test
12 public void testEqual() {
13 Double d = Math.random();
14 Tuple<String, Double> t1 = new Tuple<>("Agent0", d);
15 Tuple<String, Double> t2 = new Tuple<>("Agent0", d);
16 assertEquals(t1, t2);
17 }
18}
Note: See TracBrowser for help on using the repository browser.