<commit_before>#![allow(dead_code)]
#[macro_use]
extern crate enum_primitive;
#[macro_use]
extern crate conrod;
extern crate rustc_serialize;
extern crate time;
extern crate piston_window;

mod arena;
mod db;
mod graphic;
mod player;

use player::Player;
use player::PlayerType;
use arena::Arena;
use db::enums;

fn main() {
    println!("");
    println!("Hello and Welcome to the Pokemon Battle Arena");
    println!("");
    testing();
}

// This function is for testing. Pls uncommend before commiting!
fn testing() {

    println!("Testing:");
    for entry in db::movedex::Movedex::new().get_entries() {
        if entry.get_category() == enums::MoveCategory::WholeFieldEffect {
            println!("{:?}", entry.get_name());
        }
    }
    // test_players();
    // test_arena();
    graphic::gui::draw_window();
}



fn test_players() {

    println!("The Player Section");<commit_msg>edit main.rs<commit_after>#![allow(dead_code)]
#[macro_use]
extern crate enum_primitive;
#[macro_use]
extern crate conrod;
extern crate rustc_serialize;
extern crate time;
extern crate piston_window;

mod arena;
mod db;
mod graphic;
mod player;

use player::Player;
use player::PlayerType;
use arena::Arena;
use db::enums;

fn main() {
    println!("");
    println!("Hello and Welcome to the Pokemon Battle Arena");
    println!("");
    testing();
}

// This function is for testing. Pls uncommend before commiting!
fn testing() {

    println!("Testing:");
    for entry in db::movedex::Movedex::new().get_entries() {
        if entry.get_category() == enums::MoveCategory::WholeFieldEffect {
            println!("{:?}", entry.get_name());
        }
    }
    // test_players();
    // test_arena();
    let mut window = graphic::gui::App::new();
    window.draw_window();
}



fn test_players() {

    println!("The Player Section");
{'fraction_non_alphanumeric': 0.1567773543821448, 'fraction_numerical': 0.0, 'mean_word_length': 3.954177897574124, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '224488', 'n_tokens_mistral': 614, 'n_tokens_neox': 588, 'n_words': 156}