<commit_before>//
//  Checker.cpp
//  mathgame1
//
//  Created by Nicholas on 25/07/2015.
//  Copyright (c) 2015 Nicholas. All rights reserved.
//

#include "Checker.h"
#include "QuestionAnswer.h"
#include <iostream>

bool Checker(struct QuestionAnswer QA){
    bool TorF = true;
    double UserAnswer;
    std::cin >> UserAnswer;
    if (UserAnswer != QA.answer)
    {
        std::cout << "Wrong" << std::endl;
        TorF = false;
        std::cout << TorF << std::endl;
    }
    else {
        std::cout << "Correct!" <<std::endl;
        TorF = true;
    }
    return TorF;
}<commit_msg>removed message that I was using for debugging<commit_after>//
//  Checker.cpp
//  mathgame1
//
//  Created by Nicholas on 25/07/2015.
//  Copyright (c) 2015 Nicholas. All rights reserved.
//

#include "Checker.h"
#include "QuestionAnswer.h"
#include <iostream>

bool Checker(struct QuestionAnswer QA){
    bool TorF = true;
    double UserAnswer;
    std::cin >> UserAnswer;
    if (UserAnswer != QA.answer)
    {
        std::cout << "Wrong" << std::endl;
        TorF = false;
    }
    else {
        std::cout << "Correct!" <<std::endl;
        TorF = true;
    }
    return TorF;
}
{'fraction_non_alphanumeric': 0.15156646909398813, 'fraction_numerical': 0.02201524132091448, 'mean_word_length': 2.4063400576368874, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3671266', 'n_tokens_mistral': 432, 'n_tokens_neox': 400, 'n_words': 106}