public void NumberShouldBeBigger_False(int number, int min) { //var ValidatorMin validatorMin = new ValidatorMin(min); //act var actualResult = validatorMin.Validate(number); //assert Assert.IsFalse(actualResult); }
private void FirstPlayerStep() { Console.WriteLine($"{Player1.Name} Enter the Min board"); Min = ReadInteger.FromConsole(); var validatorMin = new ValidatorMin(Min); Console.WriteLine($"{Player1.Name} Enter the Max board"); Max = ReadInteger.FromConsole(validatorMin); var validatorMinMax = new ValidatorMinMax(Min, Max); Console.WriteLine($"{Player1.Name} Enter the Number"); player1Number = ReadInteger.FromConsole(validatorMinMax); attempCount = AttempCalculator(Min, Max); }