Mercurial > hg > Members > tatsuki > functionaljava-master > core
comparison src/test/java/fj/P2Test.java @ 0:fe80c1edf1be
add getLoop
author | tatsuki |
---|---|
date | Fri, 20 Mar 2015 21:04:03 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:fe80c1edf1be |
---|---|
1 package fj; | |
2 | |
3 import org.junit.Assert; | |
4 import org.junit.Test; | |
5 | |
6 /** | |
7 * Created by MarkPerry on 22/07/2014. | |
8 */ | |
9 public class P2Test { | |
10 | |
11 @Test | |
12 public void testToString() { | |
13 String s = P.p(1, 2).toString(); | |
14 Assert.assertTrue(s.equals("(1,2)")); | |
15 } | |
16 | |
17 } |