Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
LynLyn='You are @#$#@*& very kind';
[Lyy Lnn]=LyyLnn(LynLyn);
Ly='Youareverykind'; Ln=' @#$#@*& ';
assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))
[Warning: Function isequal 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 LyyLnn (line 2)
In ScoringEngineTestPoint1 (line 2)
In solutionTest (line 3)]
|
2 | Pass |
LynLyn='Please write me soon';
[Lyy Lnn]=LyyLnn(LynLyn);
Ly='Pleasewritemesoon'; Ln=' ';
assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))
[Warning: Function isequal 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 LyyLnn (line 2)
In ScoringEngineTestPoint2 (line 2)
In solutionTest (line 5)]
|
3 | Pass |
LynLyn='12+12=23 wrong';
[Lyy Lnn]=LyyLnn(LynLyn);
Ly='wrong'; Ln='12+12=23 ';
assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))
[Warning: Function isequal 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 LyyLnn (line 2)
In ScoringEngineTestPoint3 (line 2)
In solutionTest (line 7)]
|
1421 Solvers
1600 Solvers
217 Solvers
445 Solvers
2781 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!