parent
3c7ba3c8bb
commit
8cf67ef7b1
@ -1,21 +0,0 @@
|
||||
#ifndef PRIMARY_GENERATOR_H_
|
||||
#define PRIMARY_GENERATOR_H_
|
||||
|
||||
#include "question_generator.h"
|
||||
|
||||
class PrimaryGenerator : 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 = 2;
|
||||
static constexpr int kMaxOperands = 5;
|
||||
static constexpr int kMinNumber = 1;
|
||||
static constexpr int kMaxNumber = 100;
|
||||
|
||||
std::string GenerateSingleQuestion();
|
||||
};
|
||||
|
||||
#endif // PRIMARY_GENERATOR_H_
|
||||
Loading…
Reference in new issue