Cody

# Problem 43660. Use R2016b Text Manipulations to Fix These Addresses (Part 1)

Solution 2264713

Submitted on 8 May 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
x = '950 Blue Hill Ave.Dorchester, MA 2124(42.29189440573543, -71.0887162019496)'; y = string('950 Blue Hill Ave.Dorchester, MA 2124'); assert (all(y == myFun(x)));

Output argument "y" (and maybe others) not assigned during call to "myFun". Error in Test1 (line 3) assert (all(y == myFun(x)));

2   Fail
x= '259 Allandale Rd.Jamaica Plain, MA 2467(42.30236456682541, -71.14054916195282)'; y = string('259 Allandale Rd.Jamaica Plain, MA 2467'); assert (all(y == myFun(x)));

Output argument "y" (and maybe others) not assigned during call to "myFun". Error in Test2 (line 3) assert (all(y == myFun(x)));

3   Fail
x = '850 Harrison Ave.Boston, MA 2118(42.33517814576012, -71.07473087474541)'; y = string('850 Harrison Ave.Boston, MA 2118'); assert (all(y == myFun(x)));

Output argument "y" (and maybe others) not assigned during call to "myFun". Error in Test3 (line 3) assert (all(y == myFun(x)));

4   Fail
x = '23-29 Tucker St.Dorchester, MA 2124(42.30786999970087, -71.06340000010977)'; y = string('23-29 Tucker St.Dorchester, MA 2124'); assert (all(y == myFun(x)));

Output argument "y" (and maybe others) not assigned during call to "myFun". Error in Test4 (line 3) assert (all(y == myFun(x)));