Devised a unit test for TTT

A unit test to check win in TTT.