3 ms·
I don't see the point; you're not testing code that depends on Point, as it's local, so `x to y` (i.e. `Pair(x, y)`) would work just as well. If there's a part
by tadfisher 6y ago
I don't see the point; you're not testing code that depends on Point, as it's local, so `x to y` (i.e. `Pair(x, y)`) would work just as well.
If there's a particular language feature records enable that Kotlin doesn't with ordinary data classes in this case, I'd love to see it.