<commit_before>//
//  RuleTests.swift
//  Matrioska
//
//  Created by <NAME> on 19/01/17.
//  Copyright © 2017 runtastic. All rights reserved.
//

import XCTest
import Quick
import Nimble
@testable import Matrioska

class RuleComponentTests: QuickSpec {
    
    override func spec() {
        
        describe("Rule Component") {
            
            it("returns false when the rule evaluates to false") {
                let rule = Rule.simple(false)
                
                expect(rule.evaluate()).to(beFalse())
            }<commit_msg>Dumb commit to test RT bot<commit_after>//
//  RuleTests.swift
//  Matrioska
//
//  Created by <NAME> on 19/01/17.
//  Copyright © 2017 runtastic. All rights reserved.
//

import XCTest
import Quick
import Nimble
@testable import Matrioska

class RuleComponentTests: QuickSpec {
    
    override func spec() {
        
        fdescribe("Rule Component") {
            
            it("returns false when the rule evaluates to false") {
                let rule = Rule.simple(false)
                
                expect(rule.evaluate()).to(beFalse())
            }
{'fraction_non_alphanumeric': 0.10160427807486631, 'fraction_numerical': 0.017825311942959002, 'mean_word_length': 1.821608040201005, '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': '6572746', 'n_tokens_mistral': 337, 'n_tokens_neox': 306, 'n_words': 93}