Cody

Solution 1947808

Submitted on 24 Sep 2019
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
assert(love_calculator('Jay-Z','Beyonce')==5)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test1 (line 1) assert(love_calculator('Jay-Z','Beyonce')==5)

2   Fail
assert(love_calculator('Dr. Dre','Eminem')==47)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test2 (line 1) assert(love_calculator('Dr. Dre','Eminem')==47)

3   Fail
assert(love_calculator('Angelina Jolie','Brad Pitt')==69)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test3 (line 1) assert(love_calculator('Angelina Jolie','Brad Pitt')==69)

4   Fail
assert(love_calculator('Jennifer Aniston','Brad Pitt')==75)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test4 (line 1) assert(love_calculator('Jennifer Aniston','Brad Pitt')==75)

5   Fail
assert(love_calculator('God','Satan')==82)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test5 (line 1) assert(love_calculator('God','Satan')==82)

6   Fail
assert(love_calculator('Your Mom','Your Dad')==5)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test6 (line 1) assert(love_calculator('Your Mom','Your Dad')==5)

7   Fail
assert(love_calculator('@bmtran','MATLAB')==66)

Unrecognized function or variable 'name1'. Error in love_calculator (line 2) score = [name1 name2]; Error in Test7 (line 1) assert(love_calculator('@bmtran','MATLAB')==66)

Suggested Problems

More from this Author56