| Test |
Duration |
Result |
| testClone_CreatesDeepCopyOfBlock() |
0.001s |
passed |
| testEquals_DifferentBlocks_ReturnsFalse() |
0.002s |
passed |
| testEquals_EqualBlocks_ReturnsTrue() |
0.003s |
passed |
| testFromJson_CreatesBlockFromJsonString() |
0.011s |
passed |
| testGetIcon_BigBlock_ReturnsB() |
0.002s |
passed |
| testGetIcon_HorizontalBlock_ReturnsH() |
0.046s |
passed |
| testGetIcon_SmallBlock_ReturnsS() |
0.001s |
passed |
| testGetIcon_UnknownBlock_ReturnsX() |
0.002s |
passed |
| testGetIcon_VerticalBlock_ReturnsV() |
0.001s |
passed |
| testGetOccupiedLocations_1x1Block_ReturnsSingleCoordinate() |
0.001s |
passed |
| testGetOccupiedLocations_2x2Block_ReturnsFourCoordinates() |
0.004s |
passed |
| testGetOccupiedLocations_CustomBlock_ReturnsExpectedCoordinates() |
0.002s |
passed |
| testGetX_ReturnsXCoordinate() |
0.003s |
passed |
| testGetY_ReturnsYCoordinate() |
0.001s |
passed |
| testSetHeight_ModifiesBlockHeight() |
0.003s |
passed |
| testSetLocation_ModifiesBlockLocation() |
0.002s |
passed |
| testSetWidth_ModifiesBlockWidth() |
0.001s |
passed |
| testToJson_ReturnsValidJsonRepresentation() |
0.196s |
passed |
| testToString_ReturnsStringRepresentation() |
0.026s |
passed |