<commit_before>#!/usr/bin/env python

#Copyright (C) 2009-2011 by <NAME> (<EMAIL>)
#
#Released under the MIT license, see LICENSE.txt
import unittest
import sys
import os
import xml.etree.ElementTree as ET

from cactus.shared.test import parseCactusSuiteTestOptions
from sonLib.bioio import TestStatus
from sonLib.bioio import system
from sonLib.bioio import getLogLevelString

from cactus.shared.test import getCactusInputs_random
from cactus.shared.test import getCactusInputs_blanchette
from cactus.shared.test import runWorkflow_multipleExamples

from cactus.shared.common import cactusRootPath
from sonLib.bioio import getTempFile

class TestCase(unittest.TestCase):
    def testCactus_Random_Greedy(self):
        testCactus_Random(self, "greedy")
        
    def testCactus_Random_Blossum(self):
        testCactus_Random(self, "blossom5")
        
    def testCactus_Random_MaxCardinality(self):
        testCactus_Random(self, "maxCardinality")
    
    def testCactus_Random_MaxWeight(self):
        testCactus_Random(self, "maxWeight")
        
    def testCactus_Blanchette_Greedy(self):
        testCactus_Blanchette(self, "greedy")
        
    def testCactus_Blanchette_Blossum(self):
        testCactus_Blanchette(self, "blossom5")
        
    def testCactus_Blanchette_MaxCardinality(self):
        testCactus_Blanchette(self, "maxCardinality")
    
    def testCactus_Blanchette_MaxWeight(self):
        testCactus_Blanchette(self, "maxWeight")
        
    def testCuTest(self):
        system("referenceTests %s" % getLogLevelString())
            
def testCactus_Blanchette(self, matchingAlgorithm):
    configFile = getConfigFile(matchingAlgorithm)
    runWorkflow_multipleExamples(getCactusInputs_blanchette, 
                                 testRestrictions=(TestStatus.TEST_SHORT,), inverseTestRestrictions=True, <commit_msg>Disabling a few tests that were pointless<commit_after>#!/usr/bin/env python

#Copyright (C) 2009-2011 by <NAME> (<EMAIL>)
#
#Released under the MIT license, see LICENSE.txt
import unittest
import sys
import os
import xml.etree.ElementTree as ET

from cactus.shared.test import parseCactusSuiteTestOptions
from sonLib.bioio import TestStatus
from sonLib.bioio import system
from sonLib.bioio import getLogLevelString

from cactus.shared.test import getCactusInputs_random
from cactus.shared.test import getCactusInputs_blanchette
from cactus.shared.test import runWorkflow_multipleExamples

from cactus.shared.common import cactusRootPath
from sonLib.bioio import getTempFile

class TestCase(unittest.TestCase):
    def testCactus_Random_Greedy(self):
        testCactus_Random(self, "greedy")
        
    def testCactus_Random_Blossum(self):
        testCactus_Random(self, "blossom5")
        
    def testCactus_Random_MaxCardinality(self):
        testCactus_Random(self, "maxCardinality")
    
    def testCactus_Random_MaxWeight(self):
        testCactus_Random(self, "maxWeight")
        
    def testCactus_Blanchette_Blossum(self):
        testCactus_Blanchette(self, "blossom5")
        
    def testCuTest(self):
        system("referenceTests %s" % getLogLevelString())
            
def testCactus_Blanchette(self, matchingAlgorithm):
    configFile = getConfigFile(matchingAlgorithm)
    runWorkflow_multipleExamples(getCactusInputs_blanchette, 
                                 testRestrictions=(TestStatus.TEST_SHORT,), inverseTestRestrictions=True, 
{'fraction_non_alphanumeric': 0.0713658964609535, 'fraction_numerical': 0.0058496636443404505, 'mean_word_length': 4.119760479041916, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3290434', 'n_tokens_mistral': 1134, 'n_tokens_neox': 1104, 'n_words': 210}