Warning, file /education/cantor/src/backends/maxima/testmaxima.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 SPDX-FileCopyrightText: 2009 Alexander Rieder <alexanderrieder@gmail.com> 0004 SPDX-FileCopyrightText: 2018-2022 by Alexander Semke (alexander.semke@web.de) 0005 */ 0006 0007 #ifndef _TESTMAXIMA_H 0008 #define _TESTMAXIMA_H 0009 0010 #include "backendtest.h" 0011 0012 /** This class test some of the basic functions of the maxima backend 0013 The different tests represent some general expressions, as well 0014 as expressions, that are known to have caused problems in earlier 0015 versions 0016 **/ 0017 class TestMaxima : public BackendTest 0018 { 0019 Q_OBJECT 0020 0021 private Q_SLOTS: 0022 void initTestCase(); 0023 0024 //tests evaluating a simple command 0025 void testSimpleCommand(); 0026 //tests a command, containing more than 1 line 0027 void testMultilineCommand(); 0028 //tests if the command queue works correctly 0029 void testCommandQueue(); 0030 0031 //tests doing a plot 0032 void testPlot(); 0033 void testPlotMultiline(); 0034 void testPlotWithWhitespaces(); 0035 void testPlotWithAnotherTextResults(); 0036 void testDraw(); 0037 void testDrawMultiline(); 0038 void testDrawWithAnotherTextResults(); 0039 0040 /* errors and warnings */ 0041 0042 //tests a syntax error (not closing bracket) 0043 void testInvalidSyntax(); 0044 void testWarning01(); 0045 void testWarning02(); 0046 //tests if the expression numbering works 0047 void testExprNumbering(); 0048 void testInvalidAssignment(); 0049 0050 /* comments */ 0051 void testSimpleExpressionWithComment(); 0052 void testCommentExpression(); 0053 void testNestedComment(); 0054 void testUnmatchedComment(); 0055 0056 /* tests where additional input is required */ 0057 void testInformationRequest(); 0058 void testHelpRequest(); 0059 void testSyntaxHelp(); 0060 0061 void testCompletion(); 0062 0063 void testVariableModel(); 0064 0065 void testLispMode01(); 0066 0067 void testTextQuotes(); 0068 0069 void testLoginLogout(); 0070 void testRestartWhileRunning(); 0071 0072 private: 0073 QString backendName() override; 0074 }; 0075 0076 #endif /* _TESTMAXIMA_H */