Cody

Solution 1584768

Submitted on 16 Jul 2018
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 = 'Tilda : ~'; y_correct = 742; assert(isequal(str_to_number(x),742))

ans = 724

Assertion failed.

2   Fail
x = 'Practise more'; y_correct = 1294; assert(isequal(str_to_number(x),1294))

ans = 1268

Assertion failed.

3   Fail
x = '1 last test'; y_correct = 997; assert(isequal(str_to_number(x),997))

ans = 975

Assertion failed.

4   Fail
x = 'OK, Definitely the last!'; y_correct = 997; assert(isequal(str_to_number(x),2121))

ans = 2073

Assertion failed.