eugene-matvejev/battleship-game-api

View on GitHub
tests/kahlan/Model/BattlefiedModelSpec.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 177 characters
Open

    describe('::hasUnfinishedShips - should return true if Battlefield contains cells flagged with CellModel::FLAG_SHIP and not flagged with CellModel::FLAG_DEAD', function () {

Line exceeds 120 characters; contains 123 characters
Open

    describe('::getLiveCells - should return array of cells which are not flagged with CellModel::FLAG_DEAD', function () {

Line exceeds 120 characters; contains 124 characters
Open

        it('should return 49 cells from 7x7 battlefield as all of them not flagged with CellModel::FLAG_DEAD', function () {

There are no issues that match your filters.

Category
Status