@Test
    public void testDataAnalyzer(){
        set_rows(50);
        set_columns(50);
        bootStrap();
        ravageDetectedPatterns = dataAnalysisManager.getRavageDetectedPatterns();
        protonDetectedPatterns = dataAnalysisManager.getProtonDetectedPatterns();
        Assert.assertEquals(true,protonDetectedPatterns.size()>0);

        foundProtonPatterns = new LinkedList<ProtonPatternDetector>();
        foundRavagePatterns = new LinkedList<RavagePatternDetector>();
        for(int startIndex = 0;startIndex<protonDetectedPatterns.size();startIndex++){
            protonPattern = protonDetectedPatterns.get(startIndex);
            if(protonPattern.getConfidence()>=dataAnalysisManager.get_tolerance()){
                foundProtonPatterns.add(protonPattern);
            }
        }

        for(int startIndex = 0;startIndex<ravageDetectedPatterns.size();startIndex++){
            ravagePattern = ravageDetectedPatterns.get(startIndex);
            if(ravagePattern.getConfidence()>=dataAnalysisManager.get_tolerance()){
                foundRavagePatterns.add(ravagePattern);
            }
        }

        Assert.assertEquals(true,foundProtonPatterns.size()>0);
        Assert.assertEquals(true,foundRavagePatterns.size()>0);
    }