Cody

Solution 1278570

Submitted on 29 Sep 2017
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
timetorun(); t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

Error using assert The condition input argument must be a scalar logical. Error in Test1 (line 6) assert(abs(t2)<5e-3)

2   Fail
t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

Error using assert The condition input argument must be a scalar logical. Error in Test2 (line 5) assert(abs(t2)<5e-3)

3   Fail
t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

Error using assert The condition input argument must be a scalar logical. Error in Test3 (line 5) assert(abs(t2)<5e-3)

4   Fail
t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

Error using assert The condition input argument must be a scalar logical. Error in Test4 (line 5) assert(abs(t2)<5e-3)

5   Fail
t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

Error using assert The condition input argument must be a scalar logical. Error in Test5 (line 5) assert(abs(t2)<5e-3)