Cody

Solution 1880544

Submitted on 22 Jul 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
x = 'Help'; y_correct = 'eHpl'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

2   Fail
x = 'between'; y_correct = 'tebwnee'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

3   Fail
x = 'yellow'; y_correct = 'leywol'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

4   Fail
x = 'apple'; y_correct = 'papel'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

5   Fail
x = 'one, two, three'; y_correct = 'wt ,enooeerht ,'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

6   Fail
x = 'red green blue'; y_correct = 'erg dereulb ne'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

7   Fail
x = 'a'; y_correct = 'a'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

8   Fail
x = '1234567890'; y_correct = '5432109876'; assert(isequal(reverse_within_string(x),y_correct))

Error in solution: Line: 6 Column: 36 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.