1--TEST-- 2Games_Chess_Crazyhouse->_getAllPieceLocations() starting position 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$board->resetGame(); 8$phpunit->assertEquals(array ( 9 0 => 'a2', 10 1 => 'b2', 11 2 => 'c2', 12 3 => 'd2', 13 4 => 'e2', 14 5 => 'f2', 15 6 => 'g2', 16 7 => 'h2', 17 8 => 'c1', 18 9 => 'f1', 19 10 => 'b1', 20 11 => 'g1', 21 12 => 'd1', 22 13 => 'a1', 23 14 => 'h1', 24 15 => 'e1', 25), $board->_getAllPieceLocations('W'), 'white'); 26$phpunit->assertEquals(array ( 27 0 => 'a7', 28 1 => 'b7', 29 2 => 'c7', 30 3 => 'd7', 31 4 => 'e7', 32 5 => 'f7', 33 6 => 'g7', 34 7 => 'h7', 35 8 => 'c8', 36 9 => 'f8', 37 10 => 'b8', 38 11 => 'g8', 39 12 => 'd8', 40 13 => 'a8', 41 14 => 'h8', 42 15 => 'e8', 43), $board->_getAllPieceLocations('B'), 'black'); 44echo 'tests done'; 45?> 46--EXPECT-- 47tests done