parent
6ec1865f83
commit
dd5445e710
@ -0,0 +1,22 @@
|
||||
#ifndef SENIOR_GENERATOR_H_
|
||||
#define SENIOR_GENERATOR_H_
|
||||
|
||||
#include "question_generator.h"
|
||||
|
||||
class SeniorGenerator : public QuestionGenerator {
|
||||
public:
|
||||
std::vector<std::string> GenerateQuestions(int count,
|
||||
const std::string& username) override;
|
||||
bool MeetsDifficultyRequirements(const std::string& question) override;
|
||||
|
||||
private:
|
||||
static constexpr int kMinOperands = 1;
|
||||
static constexpr int kMaxOperands = 5;
|
||||
static constexpr int kMinNumber = 1;
|
||||
static constexpr int kMaxNumber = 100;
|
||||
static constexpr int kMaxAngle = 90;
|
||||
|
||||
std::string GenerateSingleQuestion();
|
||||
};
|
||||
|
||||
#endif // SENIOR_GENERATOR_H_
|
||||
Loading…
Reference in new issue