Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
dx1=[-4, 2, 3];
dy1=[-1,-1,0];
dx2=[2, 0,-2,-2];
dy2=[-1,-2,-1, 0];
assert(isequal(yaff(dx1,dy1,dx2,dy2),false))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In yaff (line 2)
In ScoringEngineTestPoint1 (line 5)
In solutionTest (line 3)]
|
2 | Pass |
dx1=[-4, 2, 3];
dy1=[-1,-1,-1];
dx2=[2, 0,-2,-2];
dy2=[-1,-2,-1, 0];
assert(isequal(yaff(dx1,dy1,dx2,dy2),true))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In yaff (line 2)
In ScoringEngineTestPoint2 (line 5)
In solutionTest (line 5)]
|
3 | Pass |
dx1=[6,-4, 5, 2];
dy1=[1, 0, 1,-1];
dx2=[2, 2, 3,-3, 1, 0, 6];
dy2=[-5, 2,-2,-3, 4, 3, 3];
assert(isequal(yaff(dx1,dy1,dx2,dy2),true))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In yaff (line 2)
In ScoringEngineTestPoint3 (line 5)
In solutionTest (line 7)]
|
4 | Pass |
dx1=[6,-3, 5, 1];
dy1=[1, 0, 1,-1];
dx2=[2, 2, 3,-3, 1, 0, 6];
dy2=[-5, 2,-2,-3, 4, 3, 3];
assert(isequal(yaff(dx1,dy1,dx2,dy2),false))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In yaff (line 2)
In ScoringEngineTestPoint4 (line 5)
In solutionTest (line 9)]
|
2261 Solvers
251 Solvers
399 Solvers
260 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!