could you separate your asserts into multiple cells so you can see which test case is failing?
also, how do you define the n-ary behavior since max only takes up to 2 non-empty arguments?
I mean, n-ary operators are also supported, but I use max as a binary op.
338 Solvers
213 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1522 Solvers
Back to basics 13 - Input variables
235 Solvers
Create a vector whose elements depend on the previous element
396 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!