Last change
on this file since 163 was 1, checked in by Wouter Pasman, 7 years ago |
Initial import : Genius 9.0.0
|
File size:
344 bytes
|
Rev | Line | |
---|
[1] | 1 | package list;
|
---|
| 2 |
|
---|
| 3 | import static org.junit.Assert.assertEquals;
|
---|
| 4 |
|
---|
| 5 | import org.junit.Test;
|
---|
| 6 |
|
---|
| 7 | import genius.core.list.Tuple;
|
---|
| 8 |
|
---|
| 9 | public 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.