c

    cedric

    2 years ago
    These factories are not very useful if you can't feed instances with different parameters. Is this possible?
    LeoColman

    LeoColman

    2 years ago
    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