[trivia] Fix a typo in the GCD testcase.
authorAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Wed, 9 Feb 2011 05:48:08 +0000 (07:48 +0200)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Wed, 9 Feb 2011 05:48:08 +0000 (07:48 +0200)
check/bugme_chinrem_gcd.cpp

index 6a3f399..2a1bf29 100644 (file)
@@ -57,8 +57,8 @@ static void check_extract_integer_content()
 static void integer_coeff_braindamage()
 {
        parser readme;
-       ex A = readme("3*x2 + 1");
-       ex B = readme("9*x2 + 1");
+       ex A = readme("3*x^2 + 1");
+       ex B = readme("9*x^2 + 1");
        ex g = chinrem_gcd(A, B);
        if (!g.is_equal(ex(1))) {
                std::cerr << "expected 1, got " << g << std::endl;