https://kotlinlang.org logo
#arrow-contributors
Title
# arrow-contributors
j

julian

01/25/2023, 10:43 PM
For issue #2894, I found these tests for
curried
. May I use them as a pattern for the
curried
functions that are missing tests? Is there anything that should be done differently? Any other considerations that are undocumented? I think I'll remove the
curried
tests from
FunctionSyntaxTest.kt
and add a new file with just
curried
tests. That sound reasonable? Thanks!
r

raulraja

01/26/2023, 8:37 AM
Can the tests be expressed as properties over the function such as for all f, a, b => curry and uncurry here and apply args and check same as regular function application
Repeating this for each arity will probably give us 100% cov there. It may be more exaustive than manually applying inputs such as 2, 4
j

julian

01/26/2023, 2:31 PM
@raulraja Will do! Thanks!
3 Views