Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
p = 233;
y_correct = true;
assert(isequal(your_fcn_name(p),y_correct))
[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 your_fcn_name (line 2)
In ScoringEngineTestPoint1 (line 3)
In solutionTest (line 3)]
|
2 | Pass |
p = 23;
y_correct14 = true;
assert(isequal(your_fcn_name(p),y_correct14))
[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 your_fcn_name (line 2)
In ScoringEngineTestPoint2 (line 3)
In solutionTest (line 5)]
|
3 | Pass |
p = 22;
y_correct14 = false;
assert(isequal(your_fcn_name(p),y_correct14))
[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 your_fcn_name (line 2)
In ScoringEngineTestPoint3 (line 3)
In solutionTest (line 7)]
|
4 | Pass |
p = 1 % p must also be a prime number !!
y_correct1t = false;
assert(isequal(your_fcn_name(p),y_correct1t))
p =
1
[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 your_fcn_name (line 2)
In ScoringEngineTestPoint4 (line 3)
In solutionTest (line 9)]
|
5 | Pass |
p = 14 % p must also be a prime number !!
correct1t = false;
assert(isequal(your_fcn_name(p),correct1t))
p =
14
[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 your_fcn_name (line 2)
In ScoringEngineTestPoint5 (line 3)
In solutionTest (line 11)]
|
6 | Pass |
p = 29
correct1tp = true;
assert(isequal(your_fcn_name(p),correct1tp))
p =
29
[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 your_fcn_name (line 2)
In ScoringEngineTestPoint6 (line 3)
In solutionTest (line 13)]
|
Find state names that start with the letter N
598 Solvers
Solve the set of simultaneous linear equations
273 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
227 Solvers
382 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!