Closed hjayyang94 closed 4 years ago
I am not sure what you are trying to do here. The patch has an unrelated file and a single boolean check which would be better bundled into its own routine that tests the automatic move functionality rather than tacked on to the simple "does it work at all" tests.
The existing test case, testSimpleMove(), was not actually testing the movement. It merely tested whether or not tile 2 was in the direction.NE of tile1.
Added additional assertion statement to test if automatic movement (a.k.a. simple movement) occurs.