<commit_before>//
//  ViewStateTests.swift
//  Overlay
//
//  Created by <NAME> on 8/24/16.
//  Copyright © 2016 TintPoint. MIT license.
//

import XCTest
@testable import Overlay

class ViewStateTest: XCTestCase {
    
    func testViewDisable() {
        XCTAssertTrue(UIBarItem() as Any is ViewDisable)
        XCTAssertTrue(UIControl() as Any is ViewDisable)
        XCTAssertTrue(UILabel() as Any is ViewDisable)
    }
    
    func testViewSelectable() {
        XCTAssertTrue(UIControl() as Any is ViewSelectable)
        XCTAssertTrue(UITableViewCell() as Any is ViewSelectable)
    }
    
    func testViewHighlightable() {
        XCTAssertTrue(UIControl() as Any is ViewHighlightable)
        XCTAssertTrue(UITableViewCell() as Any is ViewHighlightable)
        XCTAssertTrue(UILabel() as Any is ViewHighlightable)
        XCTAssertTrue(UIImageView() as Any is ViewHighlightable)
    }
    
    func testViewFocusable() {
        XCTAssertTrue(UIView() as Any is ViewFocusable)
    }
    
}<commit_msg>Use XCTAssert to replace XCTAssertTrue<commit_after>//
//  ViewStateTests.swift
//  Overlay
//
//  Created by <NAME> on 8/24/16.
//  Copyright © 2016 TintPoint. MIT license.
//

import XCTest
@testable import Overlay

class ViewStateTest: XCTestCase {
    
    func testViewDisable() {
        XCTAssert(UIBarItem() as Any is ViewDisable)
        XCTAssert(UIControl() as Any is ViewDisable)
        XCTAssert(UILabel() as Any is ViewDisable)
    }
    
    func testViewSelectable() {
        XCTAssert(UIControl() as Any is ViewSelectable)
        XCTAssert(UITableViewCell() as Any is ViewSelectable)
    }
    
    func testViewHighlightable() {
        XCTAssert(UIControl() as Any is ViewHighlightable)
        XCTAssert(UITableViewCell() as Any is ViewHighlightable)
        XCTAssert(UILabel() as Any is ViewHighlightable)
        XCTAssert(UIImageView() as Any is ViewHighlightable)
    }
    
    func testViewFocusable() {
        XCTAssert(UIView() as Any is ViewFocusable)
    }
    
}
{'fraction_non_alphanumeric': 0.08552958727001492, 'fraction_numerical': 0.008950770760815515, 'mean_word_length': 2.8618042226487526, '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': '1044029', 'n_tokens_mistral': 656, 'n_tokens_neox': 622, 'n_words': 164}