Cody

Solution 2085248

Submitted on 9 Jan 2020
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(numCmp('12.3456',12.3456))

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

2   Fail
assert(numCmp('12.3456',12.3456789))

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

3   Fail
assert(~numCmp('12.3456',12.345))

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

4   Fail
assert(~numCmp('12.34567890',12.3456))

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

5   Fail
assert(numCmp('12e6',12e6))

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

6   Fail
assert(~numCmp('54',100))

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