protected override string PickDigit4() { // Fifth digit for state population return(StatePopulation.Substring(5, 1)); }
protected bool Equals(StatePopulation other) { return string.Equals(State, other.State) && Count == other.Count; }
protected override string PickDigit3() { // Second digit for state population return(StatePopulation.Substring(1, 1)); }
private void AssertStatePopulation(StatePopulation state, string name, int population) { Assert.That(state.Name, Is.EqualTo(name)); Assert.That(state.Population, Is.EqualTo(population)); }