This commit is contained in:
Yadunand Prem 2022-09-19 19:49:54 +08:00
parent 367a4e9ad4
commit 05a6f3e572
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -32,6 +32,9 @@ class Test3 {
we.expect("new Improbable<String>().invoke(null)",
new Improbable<String>().invoke(null).toString(),
"<>");
we.expect("new Improbable<Integer>().invoke(1).transform(new Incr())",
new Improbable<Integer>().invoke(1).transform(new Incr()).toString(),
"<2>");
we.expect("new Improbable<>().invoke(new Improbable<>().invoke(1))",
new Improbable<>().invoke(new Improbable<Integer>().invoke(1)).toString(),
"<<1>>");