Cody

Solution 1972797

Submitted on 12 Oct 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
tic dog=@()pause(100/1000); drowsy=wakeup(dog) drowsy_correct = 1 toc assert(drowsy==drowsy_correct) assert(toc>1/10)

Output argument "drowsy" (and maybe others) not assigned during call to "wakeup". Error in Test1 (line 3) drowsy=wakeup(dog)

2   Fail
tic dog=@()pause(10/1000); drowsy=wakeup(dog) drowsy_correct = 0 toc assert(drowsy==drowsy_correct) assert(toc<1)

Output argument "drowsy" (and maybe others) not assigned during call to "wakeup". Error in Test2 (line 3) drowsy=wakeup(dog)