Cody

Solution 1968919

Submitted on 9 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
x = '12:00'; y_correct = 0; assert(isequal(AngleDifference(x),y_correct))

y = 1110 1140 1380 1080 1080

Assertion failed.

2   Fail
x = '14:00'; y_correct = 60; assert(isequal(AngleDifference(x),y_correct))

y = 1110 1200 1380 1080 1080

Assertion failed.

3   Fail
x = '10:10'; y_correct = 115; assert(isequal(AngleDifference(x),y_correct))

y = 1110 1080 1380 1110 1080

Assertion failed.

4   Fail
x = '23:59'; y_correct = 5.5; assert(isequal(AngleDifference(x),y_correct))

y = 1140 1170 1380 1230 1350

Assertion failed.

5   Fail
x = '5:30'; y_correct = 15; assert(isequal(AngleDifference(x),y_correct))

y = 1230 1380 1170 1080

Assertion failed.