Cody

Solution 1741636

Submitted on 4 Mar 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
y_correct = getfield({'rock' 'scissors' 'paper'},{ceil(rand(1)*3)}); assert(isequal(lower(driemaalisscheepsrecht()),y_correct));

Assertion failed.

2   Fail
y_correct = getfield({'rock' 'scissors' 'paper'},{ceil(rand(1)*3)}); assert(isequal(lower(driemaalisscheepsrecht()),y_correct));

Assertion failed.

3   Pass
y_correct = getfield({'rock' 'scissors' 'paper'},{ceil(rand(1)*3)}); assert(isequal(lower(driemaalisscheepsrecht()),y_correct));