fixes
This commit is contained in:
parent
367a4e9ad4
commit
05a6f3e572
BIN
Lab4/Lab4.pdf
BIN
Lab4/Lab4.pdf
Binary file not shown.
@ -32,8 +32,11 @@ class Test3 {
|
|||||||
we.expect("new Improbable<String>().invoke(null)",
|
we.expect("new Improbable<String>().invoke(null)",
|
||||||
new Improbable<String>().invoke(null).toString(),
|
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))",
|
we.expect("new Improbable<>().invoke(new Improbable<>().invoke(1))",
|
||||||
new Improbable<>().invoke(new Improbable<Integer>().invoke(1)).toString(),
|
new Improbable<>().invoke(new Improbable<Integer>().invoke(1)).toString(),
|
||||||
"<<1>>");
|
"<<1>>");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user