* Factorization test suite. */
/*
- * GiNaC Copyright (C) 1999-2014 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
unsigned result = 0;
ex e;
symbol x("x"), y("y"), z("z");
- lst syms;
- syms = x, y, z;
+ lst syms = {x, y, z};
e = ex("x+y", syms);
result += check_factor(e);
unsigned result = 0;
ex e;
symbol k("k"), n("n");
- lst syms;
- syms = k, n;
+ lst syms = {k, n};
e = ex("1/2*(-3+3*k-n)*(-2+3*k-n)*(-1+3*k-n)", syms);
result += check_factor(e);