public MtcQuestion(byte operand1, byte operand2, MtcOperation operation, byte id) { Id = id; Operand1 = operand1; Operand2 = operand2; Operation = operation; }
public MtcSettings( byte rangeFrom, byte rangeTo, byte numOfQuestions, byte secondsPerQuestions, byte secondsPerTest, bool includeMultByOne, MtcOperation operation, MtcDifficultyLevel difficultyLevel) { rangeFrom.Should().BePositive(); rangeTo.Should().BePositive(); numOfQuestions.Should().BePositive(); rangeTo.Should().BeGreaterOrEqualTo(rangeTo); RangeFrom = rangeFrom; RangeTo = rangeTo; NumOfQuestions = numOfQuestions; SecondsPerQuestions = secondsPerQuestions; SecondsPerTest = secondsPerTest; IncludeMultByOne = includeMultByOne; Operation = operation; DifficultyLevel = difficultyLevel; }