This solution is outdated. To rescore this solution, sign in.
-
3 Comments
Kehkashan Saleem
on 26 Nov 2014
what is wrong with the solution?
James
on 26 Nov 2014
You're returning the string "true" or "false" which the test suite is trying to compare to a boolean variable true or false. Since the string does not equal the boolean value, assert fails.
SIVAPRAKASH DANABALASINGAM
on 10 Jan 2017
good job
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!