GO TENNIS problem with TDD approach
Problem is package that simulator tennis score board. List of function use to be is
- AGetPoint
- BGetPoint
If someone win both function will return A WIN OR B WIN in the first point make someone win.
If call both function after set is over function will return error.
hint: If you don't know about tennis score system this is helpful link to get you understand it.