Cody

Solution 1764492

Submitted on 27 Mar 2019 by Abdelfatah Teamah
  • Size: 7
  • This is the leading solution.
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   Pass
assert(isequal(right_triangle_sides(240),{ [15 112 113] [40 96 104] [48 90 102] [60 80 100] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint1 (line 1) In solutionTest (line 3)]

2   Pass
assert(isequal(right_triangle_sides(240),{ [15 112 113] [40 96 104] [48 90 102] [60 80 100] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint2 (line 1) In solutionTest (line 5)]

3   Pass
assert(isequal(right_triangle_sides(418),{ [57 176 185] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint3 (line 1) In solutionTest (line 7)]

4   Pass
assert(isequal(right_triangle_sides(490),{ [140 147 203] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint4 (line 1) In solutionTest (line 9)]

5   Pass
assert(isequal(right_triangle_sides(112),{ [14 48 50] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint5 (line 1) In solutionTest (line 11)]

6   Pass
assert(isequal(right_triangle_sides(390),{ [52 165 173] [65 156 169] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint6 (line 1) In solutionTest (line 13)]

7   Pass
assert(isequal(right_triangle_sides(132),{ [11 60 61] [33 44 55] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint7 (line 1) In solutionTest (line 15)]

8   Pass
assert(isequal(right_triangle_sides(576),{ [64 252 260] [144 192 240] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint8 (line 1) In solutionTest (line 17)]

9   Pass
assert(isequal(right_triangle_sides(60),{ [10 24 26] [15 20 25] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint9 (line 1) In solutionTest (line 19)]

10   Pass
assert(isequal(right_triangle_sides(650),{ [25 312 313] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint10 (line 1) In solutionTest (line 21)]

11   Pass
assert(isequal(right_triangle_sides(732),{ [183 244 305] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint11 (line 1) In solutionTest (line 23)]

12   Pass
assert(isequal(right_triangle_sides(648),{ [162 216 270] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint12 (line 1) In solutionTest (line 25)]

13   Pass
assert(isequal(right_triangle_sides(930),{ [155 372 403] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint13 (line 1) In solutionTest (line 27)]

14   Pass
assert(isequal(right_triangle_sides(876),{ [219 292 365] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint14 (line 1) In solutionTest (line 29)]

15   Pass
assert(isequal(right_triangle_sides(588),{ [84 245 259] [147 196 245] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint15 (line 1) In solutionTest (line 31)]

16   Pass
assert(isequal(right_triangle_sides(208),{ [39 80 89] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint16 (line 1) In solutionTest (line 33)]

17   Pass
assert(isequal(right_triangle_sides(228),{ [57 76 95] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint17 (line 1) In solutionTest (line 35)]

18   Pass
assert(isequal(right_triangle_sides(312),{ [24 143 145] [78 104 130] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint18 (line 1) In solutionTest (line 37)]

19   Pass
assert(isequal(right_triangle_sides(924),{ [42 440 442] [77 420 427] [132 385 407] [198 336 390] [231 308 385] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint19 (line 1) In solutionTest (line 39)]

20   Pass
assert(isequal(right_triangle_sides(980),{ [280 294 406] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint20 (line 1) In solutionTest (line 41)]

21   Pass
assert(isequal(right_triangle_sides(112),{ [14 48 50] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint21 (line 1) In solutionTest (line 43)]

22   Pass
assert(isequal(right_triangle_sides(30),{ [5 12 13] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint22 (line 1) In solutionTest (line 45)]

23   Pass
assert(isequal(right_triangle_sides(680),{ [102 280 298] [136 255 289] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint23 (line 1) In solutionTest (line 47)]

24   Pass
assert(isequal(right_triangle_sides(396),{ [33 180 183] [72 154 170] [99 132 165] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint24 (line 1) In solutionTest (line 49)]

25   Pass
assert(isequal(right_triangle_sides(988),{ [266 312 410] }))

[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 right_triangle_sides (line 2) In ScoringEngineTestPoint25 (line 1) In solutionTest (line 51)]

More from this Author57