1--TEST-- 2Games_Chess->getAllPieceLocations() valid black 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$board->resetGame(); 8$err = $board->getPieceLocations('B'); 9$phpunit->assertEquals( 10 array( 11 'a7', 'b7', 'c7', 'd7', 'e7', 'f7', 'g7', 'h7', 12 'a8', 'b8', 'c8', 'd8', 'e8', 'f8', 'g8', 'h8' 13 ), 14 $err, 'wrong squares'); 15echo 'tests done'; 16?> 17--EXPECT-- 18tests done