Example #1
0
 /// <summary>
 ///     Builds the cases remaining to open output.
 ///     Precondition: None
 ///     Post-condition: None
 /// </summary>
 /// <param name="remainingCases">The number of remaining cases.</param>
 /// <returns>The formatted output for the number of remaining cases to open in the round.</returns>
 public static string BuildCasesRemainingToOpenOutput(int remainingCases)
 {
     return(remainingCases + " more " + StringManipulator.FormatSingleMultiple(remainingCases, "cases")
            + " to open.");
 }
Example #2
0
 /// <summary>
 ///     Builds the total cases to open in round output.
 ///     Precondition: None
 ///     Post-condition: None
 /// </summary>
 /// <param name="round">The round number.</param>
 /// <param name="casesToOpen">The number of cases to open.</param>
 /// <returns>The formatted output for total cases to open in the current round.</returns>
 public static string BuildTotalCasesToOpenInRoundOutput(int round, int casesToOpen)
 {
     return("Round " + round + ": " + casesToOpen + " "
            + StringManipulator.FormatSingleMultiple(casesToOpen, "cases") + " to open.");
 }