refactor: improved line checks
This commit is contained in:
@@ -332,7 +332,7 @@ describe('Boop - helper functions', () => {
|
||||
|
||||
const lines = checkGraduation(state, 'white');
|
||||
expect(lines.length).toBe(1);
|
||||
expect(lines[0]).toEqual([[2, 0], [1, 1], [0, 2]]);
|
||||
expect(lines[0]).toEqual([[0, 2], [1, 1], [2, 0]]);
|
||||
});
|
||||
|
||||
it('should not detect line with mixed piece types', () => {
|
||||
|
||||
Reference in New Issue
Block a user