X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftime_parser.cpp;h=48437df33aeace49f5bc6b303ea6614f04c28380;hp=4e6081b194f923f2e87c57184e40f158344151dc;hb=c19c2786ec3345720f0358a08bf8f781dcde0f02;hpb=a377cee53b71348235ec36f83afeced7e10288a8 diff --git a/check/time_parser.cpp b/check/time_parser.cpp index 4e6081b1..48437df3 100644 --- a/check/time_parser.cpp +++ b/check/time_parser.cpp @@ -1,15 +1,39 @@ -#include -#include -#include +/** @file time_parser.cpp + * + * Time the parser. */ + +/* + * GiNaC Copyright (C) 1999-2011 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include "ginac.h" +#include "timer.h" +using namespace GiNaC; + #include #include -#include +#include +#include #include -#include "ginac.h" -#include "timer.h" -extern void randomify_symbol_serials(); +#include +#include using namespace std; -using namespace GiNaC; + +extern void randomify_symbol_serials(); /// make a string "1+x+2*x^2+...+n*x^n" static string prepare_str(const unsigned n, const char x = 'x')