Cody

Solution 849286

Submitted on 11 Mar 2016
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
x = 'to work'; y_correct = 'worked'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

2   Fail
x = 'to push'; y_correct = 'pushed'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

3   Fail
x = 'to use'; y_correct = 'used'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

4   Fail
x = 'to arrive'; y_correct = 'arrived'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

5   Fail
x = 'to stop'; y_correct = 'stopped'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

6   Fail
x = 'to prefer'; y_correct = 'preferred'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

7   Fail
x = 'to discover'; y_correct = 'discovered'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

8   Fail
x = 'to mix'; y_correct = 'mixed'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

9   Fail
x = 'to carry'; y_correct = 'carried'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

10   Fail
x = 'to rely'; y_correct = 'relied'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

11   Fail
x = 'to dry'; y_correct = 'dried'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.

12   Fail
x = 'to play'; y_correct = 'played'; assert(isequal(regverb2simplepast(x),y_correct))

Error using regverb2simplepast (line 3) Undefined function or variable 'x'.