1--TEST--
2Games_Chess->_getDiagonals() a8
3--SKIPIF--
4--FILE--
5<?php
6require_once dirname(__FILE__) . '/setup.php.inc';
7$ret = $board->_getDiagonals('a8');
8$phpunit->assertEquals(false, $ret['NW'], 'Northwest should not exist');
9$phpunit->assertEquals(false, $ret['SW'], 'Southwest should not exist');
10$phpunit->assertEquals(false, $ret['NE'], 'Northeast should not exist');
11$phpunit->assertEquals(array('b7', 'c6', 'd5', 'e4', 'f3', 'g2', 'h1'),
12    $ret['SE'], 'Southeast should contain all the diagonals');
13echo 'tests done';
14?>
15--EXPECT--
16tests done