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