1--TEST-- 2Games_Chess->getAllPieceLocations() valid white 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$board->resetGame(); 8$err = $board->getPieceLocations('W'); 9$phpunit->assertEquals( 10 array( 11 'a1', 'b1', 'c1', 'd1', 'e1', 'f1', 'g1', 'h1', 12 'a2', 'b2', 'c2', 'd2', 'e2', 'f2', 'g2', 'h2' 13 ), 14 $err, 'wrong squares'); 15echo 'tests done'; 16?> 17--EXPECT-- 18tests done