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