From: Jens Vollinga Date: Mon, 9 May 2005 17:10:43 +0000 (+0000) Subject: Adapted exam for Alexei's gcd patch. X-Git-Tag: release_1-4-0~175 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=c42a10e8b3462b7befe957871d49d2eef0688090 Adapted exam for Alexei's gcd patch. --- diff --git a/check/exam_normalization.cpp b/check/exam_normalization.cpp index d02b98ef..c0a2e232 100644 --- a/check/exam_normalization.cpp +++ b/check/exam_normalization.cpp @@ -81,7 +81,7 @@ static unsigned exam_normal2() result += check_normal(e, d); e = (pow(x, 2) - pow(y, 2)) / pow(x-y, 3); - d = (x + y) / (pow(x, 2) + pow(y, 2) - x * y * 2); + d = (x + y) / pow(x - y, 2); result += check_normal(e, d); e = (pow(x, -1) + x) / (pow(x , 2) * 2 + 2); @@ -90,7 +90,7 @@ static unsigned exam_normal2() // Fraction cancellation with rational coefficients e = (pow(x, 2) - pow(y, 2)) / pow(x/2 - y/2, 3); - d = (8 * x + 8 * y) / (pow(x, 2) + pow(y, 2) - x * y * 2); + d = (8 * x + 8 * y) / pow(x - y, 2); result += check_normal(e, d); // Fraction cancellation with rational coefficients