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=f8a52578c1005b59c758b9ea438a131014dcb872;hb=0cf43f3096cbcfc7472ff9c8927c6eb74f2eeb8c;hpb=383d5eb3b0f0506810d9105a268f939125bfc347 diff --git a/check/exam_misc.cpp b/check/exam_misc.cpp index f8a52578..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; @@ -81,6 +208,9 @@ 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;