X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fexam_misc.cpp;h=d703a93ada5eca54a7fe1966544d1ae80d2276f3;hp=3b2ff8eac6679bb9b3271b5ae1b3d599f55655bc;hb=0cf43f3096cbcfc7472ff9c8927c6eb74f2eeb8c;hpb=fcc1f605535081bfcee74dc1a154839e10b807ef diff --git a/check/exam_misc.cpp b/check/exam_misc.cpp index 3b2ff8ea..d703a93a 100644 --- a/check/exam_misc.cpp +++ b/check/exam_misc.cpp @@ -27,20 +27,17 @@ static unsigned exam_expand_subs(void) { unsigned result = 0; - symbol a1("a1"); symbol a[VECSIZE]; ex e, aux; - a[1] = a1; - for (unsigned i=0; i(selfprobe)) { + clog << "ex (of numeric) after self-assignment became " << selfprobe << endl; + ++result; + } + + return result; +} + unsigned exam_misc(void) { unsigned result = 0; @@ -99,6 +209,8 @@ unsigned exam_misc(void) result += exam_expand_subs(); cout << '.' << flush; result += exam_expand_subs2(); cout << '.' << flush; result += exam_expand_power(); cout << '.' << flush; + result += exam_sqrfree(); cout << '.' << flush; + result += exam_operator_semantics(); cout << '.' << flush; if (!result) { cout << " passed " << endl;