Cody

Solution 668724

Submitted on 11 May 2015
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
%% assert(isequal(string_math('one'),false))

Error: You may not use the command(s) eval in your code

2   Fail
%% assert(isequal(string_math('four'),true))

Error: You may not use the command(s) eval in your code

3   Fail
%% assert(isequal(string_math('nine divided by one times three plus six'),true))

Error: You may not use the command(s) eval in your code

4   Fail
%% assert(isequal(string_math('nine divided by one multiplied by three plus six'),false))

Error: You may not use the command(s) eval in your code

5   Fail
%% assert(isequal(string_math('six plus nine times six divided by two plus five'),false))

Error: You may not use the command(s) eval in your code

6   Fail
%% assert(isequal(string_math('seven minus nine plus eight times five plus eight plus two'),true))

Error: You may not use the command(s) eval in your code

7   Fail
%% assert(isequal(string_math('nine plus six multiplied by three plus nine'),true))

Error: You may not use the command(s) eval in your code

8   Fail
%% assert(isequal(string_math('plus eight plus nine'),true))

Error: You may not use the command(s) eval in your code