%% x = 'You want to go shopping with me, right?'; y_correct = 'yes'; assert(isequal(wiferightagain(x),y_correct))
ans = yes
%% ready = 'Will you be ready soon?'; when_she_said = 'In a couple minutes'; when_really = 'An hour if you''re lucky'; y_correct = 'yes'; assert(isequal(wiferightagain(ready,when_she_said,when_really),y_correct))
Error: Too many input arguments.