Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
sIn = 'hello'
sOut = 'hlleo'
assert(isequal(scrambleText(sIn),sOut))
sIn =
'hello'
sOut =
'hlleo'
[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 scrambleText (line 2)
In ScoringEngineTestPoint1 (line 3)
In solutionTest (line 3)]
|
2 | Pass |
sIn = 'This is the first time I have used MATLAB.'
sOut = 'Tihs is the fsrit tmie I hvae uesd MALTAB.'
assert(isequal(scrambleText(sIn),sOut))
sIn =
'This is the first time I have used MATLAB.'
sOut =
'Tihs is the fsrit tmie I hvae uesd MALTAB.'
[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 scrambleText (line 2)
In ScoringEngineTestPoint2 (line 3)
In solutionTest (line 5)]
|
14351 Solvers
Increment a number, given its digits
505 Solvers
354 Solvers
Create a vector whose elements depend on the previous element
290 Solvers
377 Solvers