示例#1
0
        public void Flipping_IdRemainsSame()
        {
            var tile    = new DominoTileEntity(1, 10);
            var tileTwo = new DominoTileEntity(1, 10);

            tileTwo.Flip();

            Assert.Equal(tile.Id, tileTwo.Id);
        }
示例#2
0
        public void Flipping_IsSameTile()
        {
            var tile    = new DominoTileEntity(1, 10);
            var tileTwo = new DominoTileEntity(1, 10);

            tileTwo.Flip();

            Assert.Equal(tile, tileTwo);
        }