<commit_before>//
//  SwiftyModuleTransitionTests.swift
//  SwiftyModuleTransitionTests
//
//  Created by rock88 on 27/05/2017.
//  Copyright © 2017 rock88. All rights reserved.
//

import XCTest
@testable import SwiftyModuleTransition

class Presenter: ModuleInput {
    weak var view: AnyObject?
}

class View: UIViewController, ModuleView {
    var output: ModuleInput!
}

class SwiftyModuleTransitionTests: XCTestCase {
    
    let factory = ModuleFactory { () -> View in
        let view = View()
        let presenter = Presenter()
        presenter.view = view
        view.output = presenter
        return view
    }
    
    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.
        super.tearDown()<commit_msg>Fix test<commit_after>//
//  SwiftyModuleTransitionTests.swift
//  SwiftyModuleTransitionTests
//
//  Created by rock88 on 27/05/2017.
//  Copyright © 2017 rock88. All rights reserved.
//

import XCTest
@testable import SwiftyModuleTransition

class Presenter {
    weak var view: AnyObject?
}

class View: UIViewController, ModuleView {
    var output: Any!
}

class SwiftyModuleTransitionTests: XCTestCase {
    
    let factory = ModuleFactory { () -> View in
        let view = View()
        let presenter = Presenter()
        presenter.view = view
        view.output = presenter
        return view
    }
    
    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.
        super.tearDown()
{'fraction_non_alphanumeric': 0.07791537667698659, 'fraction_numerical': 0.016511867905056758, 'mean_word_length': 2.481149012567325, 'pattern_counts': {'":': 0, '<': 3, '<?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': '396918', 'n_tokens_mistral': 572, 'n_tokens_neox': 539, 'n_words': 195}