https://kotlinlang.org logo
#feed
Title
c

cedric

04/17/2020, 12:34 AM
These factories are not very useful if you can't feed instances with different parameters. Is this possible?
l

LeoColman

04/17/2020, 12:35 AM
It is possible, yes. The function that creates the test can receive any parameters you desire
In the example I used an interface such as
SumOp
as a parameter
3 Views