From: tjhunt Date: Fri, 1 Jun 2007 13:52:36 +0000 (+0000) Subject: Remove invalid unit test. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=699a472b5b560e7dd7bb60ae49685a0186cc85ea;p=moodle.git Remove invalid unit test. --- diff --git a/question/type/numerical/simpletest/testquestiontype.php b/question/type/numerical/simpletest/testquestiontype.php index 4cb1bb1633..302ac749df 100644 --- a/question/type/numerical/simpletest/testquestiontype.php +++ b/question/type/numerical/simpletest/testquestiontype.php @@ -106,8 +106,6 @@ class question_numerical_qtype_test extends UnitTestCase { $this->qtype->get_tolerance_interval($answer); $this->assertWithinMargin($answer->min, 0, $this->tolerance); $this->assertWithinMargin($answer->max, 0, $this->tolerance); - $this->assertTrue($answer->max - $answer->min > 0); - $answer = new stdClass; // Test default type nominal. $answer->tolerance = 1.0;