Cody

Solution 2104915

Submitted on 24 Jan 2020
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   Fail
sB = 'I do not like the flavour or the colour of these peppermints.'; sA_correct = 'I do not like the flavor or the color of these peppermints.'; assert(isequal(filterBritish(sB),sA_correct))

a = 'I do not like the flavor or the color of these peppermints.' a = 'I do not like the flavor or the color of these peppermints.'

Output argument "sA" (and maybe others) not assigned during call to "filterBritish". Error in Test1 (line 3) assert(isequal(filterBritish(sB),sA_correct))

2   Fail
sB = 'I find his goitre to be most unsavoury and am offended by the way it hangs off centre'; sA_correct = 'I find his goiter to be most unsavory and am offended by the way it hangs off center'; assert(isequal(filterBritish(sB),sA_correct))

a = 'I find his goiter to be most unsavory and am offended by the way it hangs off senter' a = 'I find his goiter to be most unsavory and am offended by the way it hangs off center'

Output argument "sA" (and maybe others) not assigned during call to "filterBritish". Error in Test2 (line 3) assert(isequal(filterBritish(sB),sA_correct))

3   Fail
sB = 'I meant no offence to you, I was simply pointing out the hideous growth on your throat'; sA_correct = 'I meant no offense to you, I was simply pointing out the hideous growth on your throat'; assert(isequal(filterBritish(sB),sA_correct))

a = 'I meant no offense to you, I was simply pointing out the hideous growth on yor throat' a = 'I meant no offense to you, I was simply pointing out the hideous growth on your throat'

Output argument "sA" (and maybe others) not assigned during call to "filterBritish". Error in Test3 (line 3) assert(isequal(filterBritish(sB),sA_correct))