Exemple #1
0
        public void Should_Return_0()
        {
            var scorer = new ScoringCalculator();
            var result = scorer.Score("");

            result.Should().Be(0);
        }
Exemple #2
0
        public void Should_return_expected_score(string game, int expected_score)
        {
            var scoringCalculator = new ScoringCalculator();

            var result = scoringCalculator.Score(game);

            result.Should().Be(expected_score);
        }