parent
342240b83d
commit
7c5de3f2fb
@ -1,21 +0,0 @@
|
||||
#ifndef JUNIOR_GENERATOR_H_
|
||||
#define JUNIOR_GENERATOR_H_
|
||||
|
||||
#include "question_generator.h"
|
||||
|
||||
class JuniorGenerator : 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;
|
||||
|
||||
std::string GenerateSingleQuestion();
|
||||
};
|
||||
|
||||
#endif // JUNIOR_GENERATOR_H_
|
||||
Loading…
Reference in new issue