<commit_before>//
//  JsonDataTypeTest.swift
//  Genome
//
//  Created by <NAME> on 12/6/15.
//  Copyright © 2015 lowriDevs. All rights reserved.
//

import XCTest
@testable import Genome

class JsonDataTypeTest: XCTestCase {
    
    // TODO:
    
    // 127 is Int8 max, unless you want to change the way this test is setup,
    // the value must be somewhere between 0 and 127
    let integerValue: Int = 127
    lazy var integerJsonValue: Json = .NumberValue(Double(self.integerValue))

    func testIntegers() {
        
        let int = try! Int.newInstance(integerJsonValue)
        XCTAssert(int == integerValue)<commit_msg>removing extra todo<commit_after>//
//  JsonDataTypeTest.swift
//  Genome
//
//  Created by <NAME> on 12/6/15.
//  Copyright © 2015 lowriDevs. All rights reserved.
//

import XCTest
@testable import Genome

class JsonDataTypeTest: XCTestCase {
    
    // 127 is Int8 max, unless you want to change the way this test is setup,
    // the value must be somewhere between 0 and 127
    let integerValue: Int = 127
    lazy var integerJsonValue: Json = .NumberValue(Double(self.integerValue))

    func testIntegers() {
        
        let int = try! Int.newInstance(integerJsonValue)
        XCTAssert(int == integerValue)
{'fraction_non_alphanumeric': 0.09330143540669857, 'fraction_numerical': 0.03189792663476874, 'mean_word_length': 2.71301775147929, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4420410', 'n_tokens_mistral': 417, 'n_tokens_neox': 379, 'n_words': 130}