<commit_before>//
//  DeferredTests.swift
//  DeferredTests
//
//  Created by <NAME> on 7/19/14.
//  Copyright (c) 2014 Big Nerd Ranch. All rights reserved.
//

import XCTest
import Deferred

func dispatch_main_after(interval: NSTimeInterval, block: () -> ()) {
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(NSTimeInterval(NSEC_PER_SEC)*interval)),
            dispatch_get_main_queue(), block)
}

class DeferredTests: XCTestCase {
    
    override func setUp() {
        super.setUp()
        // Put setup code here. This method is called before the invocation of each test method in the class.
    }
    
    override func tearDown() {
        // Put teardown code here. This method is called after the invocation of each test method in the class.<commit_msg>Update import for unit test<commit_after>//
//  DeferredTests.swift
//  DeferredTests
//
//  Created by <NAME> on 7/19/14.
//  Copyright (c) 2014 Big Nerd Ranch. All rights reserved.
//

import XCTest
#if os(iOS)
import Deferred
#else
import DeferredMac
#endif

func dispatch_main_after(interval: NSTimeInterval, block: () -> ()) {
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(NSTimeInterval(NSEC_PER_SEC)*interval)),
            dispatch_get_main_queue(), block)
}

class DeferredTests: XCTestCase {
    
    override func setUp() {
        super.setUp()
        // Put setup code here. This method is called before the invocation of each test method in the class.
    }
    
    override func tearDown() {
        // Put teardown code here. This method is called after the invocation of each test method in the class.
{'fraction_non_alphanumeric': 0.09479553903345725, 'fraction_numerical': 0.013630731102850062, 'mean_word_length': 3.0476190476190474, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '225315', 'n_tokens_mistral': 511, 'n_tokens_neox': 483, 'n_words': 159}