Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BowlingKata
TDD
BowlingGameTests
RollMany
BowlingKata.TDD.BowlingGameTests.RollMany C# (CSharp) Method
BowlingGameTests Class Documentation
Show file
Open project: davidadsit/bddtddfitnesse
RollMany()
private
method
private
RollMany
(
int
times
,
int
pins
) :
void
times
int
pins
int
return
void
private void RollMany(int times, int pins) { for (int i = 0; i < times; i++) { _game.Roll(pins); } }
BowlingGameTests
A_spare_adds_the_value_of_the_next_ball
A_strike_adds_the_value_of_the_next_two_balls
RollMany
RollSpare
RollStrike
SetUp
The_score_for_a_gutter_game_is_0
The_score_for_a_perfect_game_is_300
The_score_for_all_ones_is_20