1--TEST-- 2Games_Chess->getAllPieceSquares() 3 black pieces (1 is promoted pawn) 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$board->addPiece('B', 'N', 'h5'); 8$board->addPiece('B', 'N', 'a5'); 9$board->addPiece('B', 'N', 'g4'); 10$phpunit->assertEquals(array('g4', 'h5', 'a5'), $board->_getAllPieceSquares('N', 'B'), 1); 11echo 'tests done'; 12?> 13--EXPECT-- 14tests done