Exemplo n.º 1
0
 def test_argument_invalid_density(self):
     clique_test_template.exception(ValueError,
                                    SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, -1.0,
                                    False)
     clique_test_template.exception(ValueError,
                                    SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, -2.0,
                                    False)
Exemplo n.º 2
0
 def test_argument_invalid_levels(self):
     clique_test_template.exception(ValueError,
                                    SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 0, 0.0,
                                    False)
     clique_test_template.exception(ValueError,
                                    SIMPLE_SAMPLES.SAMPLE_SIMPLE1, -1, 0.0,
                                    False)
     clique_test_template.exception(ValueError,
                                    SIMPLE_SAMPLES.SAMPLE_SIMPLE1, -10, 0.0,
                                    False)
Exemplo n.º 3
0
 def test_argument_empty_data(self):
     clique_test_template.exception(ValueError, [], 1, 0.0, False)
Exemplo n.º 4
0
 def test_argument_empty_data(self):
     clique_test_template.exception(ValueError, [], 1, 0.0, False)
Exemplo n.º 5
0
 def test_argument_invalid_density(self):
     clique_test_template.exception(ValueError, SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, -1.0, False)
     clique_test_template.exception(ValueError, SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 1, -2.0, False)
Exemplo n.º 6
0
 def test_argument_invalid_levels(self):
     clique_test_template.exception(ValueError, SIMPLE_SAMPLES.SAMPLE_SIMPLE1, 0, 0.0, False)
     clique_test_template.exception(ValueError, SIMPLE_SAMPLES.SAMPLE_SIMPLE1, -1, 0.0, False)
     clique_test_template.exception(ValueError, SIMPLE_SAMPLES.SAMPLE_SIMPLE1, -10, 0.0, False)