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