diff --git a/tests/full/DieHardTest.php b/tests/full/DieHardTest.php new file mode 100644 index 0000000..3b1635f --- /dev/null +++ b/tests/full/DieHardTest.php @@ -0,0 +1,56 @@ + $i, + 'value' => $buckets[$i], + 'min' => $min, + 'nums' => $nums_to_generate, + 'reason' => 'below min' + ]); + } + if ($buckets[$i] >= $max ) { + var_dump([ + 'bucket' => $i, + 'value' => $buckets[$i], + 'maax' => $max, + 'nums' => $nums_to_generate, + 'reason' => 'above max' + ]); + } + + $this->assertTrue($buckets[$i] < $max && $buckets[$i] > $min); + } + } + } +} \ No newline at end of file diff --git a/tests/full/DieHardTests.php b/tests/full/DieHardTests.php deleted file mode 100644 index 0d32635..0000000 --- a/tests/full/DieHardTests.php +++ /dev/null @@ -1,25 +0,0 @@ -assertTrue( - $buckets[$i] < 10500 - && - $buckets[$i] > 9500 - ); - } - } -} \ No newline at end of file diff --git a/tests/full/StatTests.php b/tests/full/StatTest.php similarity index 96% rename from tests/full/StatTests.php rename to tests/full/StatTest.php index 1d46111..e78eb14 100644 --- a/tests/full/StatTests.php +++ b/tests/full/StatTest.php @@ -1,6 +1,6 @@ 30% but less than 170%