Category Archives: Testing

Testing Combinations

Sometimes you may have a need to test methods that take arguments of the same type:

In Scala, it is convenient to use the combinations method:

The output generated from this code is:

Advertisements