diff --git a/docs/index.rst b/docs/index.rst index d4d1000..e646356 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -30,9 +30,8 @@ Links * `Project README `_ * `API Documentations `_ * `CodeCoverage `_ -* `Metrics `_ * `Test report `_ -* `Mutation testing `_ +* `Mutation testing `_ Standard Tools diff --git a/src/SkillCalculator.php b/src/SkillCalculator.php index 9aedd73..5ef4572 100644 --- a/src/SkillCalculator.php +++ b/src/SkillCalculator.php @@ -11,6 +11,12 @@ use Exception; */ abstract class SkillCalculator { + public const NONE = 0x00; + + public const PARTIAL_PLAY = 0x01; + + public const PARTIAL_UPDATE = 0x02; + protected function __construct( private readonly int $supportedOptions, private readonly TeamsRange $totalTeamsAllowed, diff --git a/src/SkillCalculatorSupportedOptions.php b/src/SkillCalculatorSupportedOptions.php deleted file mode 100644 index ac7895d..0000000 --- a/src/SkillCalculatorSupportedOptions.php +++ /dev/null @@ -1,14 +0,0 @@ -assertEquals(TRUE, $calculator->isSupported(SkillCalculatorSupportedOptions::PARTIAL_PLAY)); + $this->assertEquals(TRUE, $calculator->isSupported(SkillCalculator::PARTIAL_PLAY)); } }