Mercurial > hg > Members > tatsuki > functionaljava-master > core
comparison src/test/java/fj/function/TestEffect.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.function; | |
2 | |
3 import fj.F; | |
4 import org.junit.Test; | |
5 | |
6 /** | |
7 * Created by mperry on 28/08/2014. | |
8 */ | |
9 public class TestEffect { | |
10 | |
11 @Test | |
12 public void test1() { | |
13 higher(TestEffect::m1); | |
14 } | |
15 | |
16 | |
17 static void higher(Effect1<String> f) { | |
18 | |
19 } | |
20 | |
21 static void m1(String s) { | |
22 | |
23 } | |
24 | |
25 } |