<commit_before>//
//  INCWaveMountainsViewTest.swift
//  incwavemountainsviewExample
//
//  Created by <NAME> on 08/02/2017.
//  Copyright © 2017 Incuna. All rights reserved.
//

import XCTest
//import INCWaveMountainsView

class INCWaveMountainsViewTest: XCTestCase {
    
    override func setUp() {
        super.setUp()
    }
    
    override func tearDown() {
        super.tearDown()
    }

    func testExample() {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct results.
    }
    
    func testPointPercent (){
        
        let mountainView:INCWaveMountainsView = INCWaveMountainsView.init()
        
        mountainView.drawPercent(0.1, forIdPoint: 4)
        
        if mountainView.leftMountain.mountainId == 1 {
            XCTAssertEqual(mountainView.leftMountain.mountainPercent, 0.1)
            return
        }
        
        if mountainView.centerMountain.mountainId == 1 {
            XCTAssertEqual(mountainView.centerMountain.mountainPercent, 0.1)
            return
        }
        
        if mountainView.rightMountain.mountainId == 1 {
            XCTAssertEqual(mountainView.rightMountain.mountainPercent, 0.1)
            return
        }
        <commit_msg>Removing the forcing test<commit_after>//
//  INCWaveMountainsViewTest.swift
//  incwavemountainsviewExample
//
//  Created by <NAME> on 08/02/2017.
//  Copyright © 2017 Incuna. All rights reserved.
//

import XCTest
//import INCWaveMountainsView

class INCWaveMountainsViewTest: XCTestCase {
    
    override func setUp() {
        super.setUp()
    }
    
    override func tearDown() {
        super.tearDown()
    }

    func testExample() {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct results.
    }
    
    func testPointPercent (){
        
        let mountainView:INCWaveMountainsView = INCWaveMountainsView.init()
        
        mountainView.drawPercent(0.1, forIdPoint: 1)
        
        if mountainView.leftMountain.mountainId == 1 {
            XCTAssertEqual(mountainView.leftMountain.mountainPercent, 0.1)
            return
        }
        
        if mountainView.centerMountain.mountainId == 1 {
            XCTAssertEqual(mountainView.centerMountain.mountainPercent, 0.1)
            return
        }
        
        if mountainView.rightMountain.mountainId == 1 {
            XCTAssertEqual(mountainView.rightMountain.mountainPercent, 0.1)
            return
        }
        
{'fraction_non_alphanumeric': 0.07993850883935434, 'fraction_numerical': 0.018447348193697154, 'mean_word_length': 2.048009367681499, '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': '4643953', 'n_tokens_mistral': 791, 'n_tokens_neox': 742, 'n_words': 163}