示例#1
0
    def test_status(self):
        """Test status values."""
        p = [0.04, 0.8, 0.81, 0.01, 0.2, 0.9, 0.03, 0.95]
        status = rejector(p, 0.1)["status"]

        self.assertEqual(
            status,
            [False, False, False, True, False, False, False, False],
            )
示例#2
0
    def test_status(self):
        """Test status values."""
        p = [0.04, 0.8, 0.81, 0.01, 0.2, 0.9, 0.03, 0.95]
        status = rejector(p, 0.1)["status"]

        self.assertEqual(
            status,
            [False, False, False, True, False, False, False, False],
        )
def get_metric_sample_data_summary():

    p_values = get_sample_p_values()['p_values']
    results = rejector( p_values )
    return results
示例#4
0
    def test_count(self):
        """Test count value."""
        p = [0.04, 0.8, 0.81, 0.01, 0.2, 0.9, 0.03, 0.95]
        count = rejector(p, 0.1)["count"]

        self.assertEqual(count, 1)
示例#5
0
    def test_count(self):
        """Test count value."""
        p = [0.04, 0.8, 0.81, 0.01, 0.2, 0.9, 0.03, 0.95]
        count = rejector(p, 0.1)["count"]

        self.assertEqual(count, 1)