LCOV - code coverage report
Current view: top level - cell - Disc.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 13 13 100.0 %
Date: 2025-12-06 00:15:40 Functions: 5 5 100.0 %

          Line data    Source code
       1             : #include "Disc.hpp"
       2             : #include "ExceptionWithLocation.hpp"
       3             : #include "Types.hpp"
       4             : 
       5             : namespace cell
       6             : {
       7             : 
       8         320 : Disc::Disc(DiscTypeID discTypeID)
       9         320 :     : discTypeID_(discTypeID)
      10             : {
      11         320 : }
      12             : 
      13           7 : void Disc::setType(DiscTypeID discTypeID)
      14             : {
      15           7 :     discTypeID_ = discTypeID;
      16           7 : }
      17             : 
      18           3 : void Disc::markDestroyed()
      19             : {
      20           3 :     destroyed_ = true;
      21           3 : }
      22             : 
      23         664 : DiscTypeID Disc::getTypeID() const
      24             : {
      25         664 :     return discTypeID_;
      26             : }
      27             : 
      28          50 : bool Disc::isMarkedDestroyed() const
      29             : {
      30          50 :     return destroyed_;
      31             : }
      32             : 
      33             : } // namespace cell

Generated by: LCOV version 1.14