wxMaxima
Loading...
Searching...
No Matches
Macros | Functions
test_WizardCatalog.cpp File Reference

Checks every entry of the catalog of standard wizards. More...

#include "EventIDs.cpp"
#include "wizards/WizardCatalog.cpp"
#include "wizards/WizardHelpKeywords.cpp"
#include <catch2/catch.hpp>
#include <wx/init.h>
#include <wx/regex.h>
#include <clocale>
#include <set>
#include <utility>
Include dependency graph for test_WizardCatalog.cpp:

Functions

 SCENARIO ("Every wizard's rule uses exactly the fields it has")
 
 SCENARIO ("Every wizard can be found, and opens with a usable command")
 
 SCENARIO ("No menu entry opens two different wizards")
 
 SCENARIO ("IDs that have no standard wizard find none")
 
 SCENARIO ("A field that takes the selection starts with it")
 
 SCENARIO ("The sidebar button and the menu entry open the same wizard")
 
 SCENARIO ("\"Dito, and evaluate the result\" has a wizard")
 
 SCENARIO ("The Fourier wizard loads its package only once")
 
 SCENARIO ("The Cauchy principal value wizard passes c, a and b in order")
 
 SCENARIO ("Both quad_qawo() wizards ask for the upper limit")
 
 SCENARIO ("The quad_qaws() wizards differ only in their weight function")
 
 SCENARIO ("The numerical integration wizards use the integral sign given")
 
int main (int argc, char *argv[])
 
 SCENARIO ("The substitution wizards wrap their equations in a list")
 
 SCENARIO ("The radcan button and menu entry open the same wizard")
 
 SCENARIO ("substinpart()'s tooltip describes the expression field")
 
 SCENARIO ("The equation solvers wrap equations and variables in lists")
 
 SCENARIO ("The ODE wizards open from both the menu and the sidebar")
 
 SCENARIO ("find_root() and the fraction wizard keep their own handler")
 
 SCENARIO ("Removing matrix rows passes the rows to submatrix() first")
 
 SCENARIO ("The complex LAPACK norms call zlange(), the real ones dlange()")
 
 SCENARIO ("dgesv() gets both A and b")
 
 SCENARIO ("The classic matrix operations are one-field wizards")
 
 SCENARIO ("map() opens from both the menu and the sidebar")
 
 SCENARIO ("The matrix wizards that need a dialog of their own keep their handler")
 
 SCENARIO ("The list wizards that pass the list second keep that order")
 
 SCENARIO ("Extracting the last n list elements counts from the end")
 
 SCENARIO ("Values are substituted as a list")
 
 SCENARIO ("The list wizards that need a dialog of their own keep their handler")
 
 SCENARIO ("The statistics wizards start with the selection")
 
 SCENARIO ("The two sample t-test offers the selection for both samples")
 
 SCENARIO ("The statistics wizards that need a dialog of their own keep their handler")
 
 SCENARIO ("The context menu opens the same wizards as the menus")
 
 SCENARIO ("Substituting from the context menu passes the equations as a list")
 
 SCENARIO ("Find Root in the context menu starts with what was right-clicked")
 
 SCENARIO ("The divide() wizard is not titled GCD")
 
 SCENARIO ("The matrix exponent wizard asks for an exponent")
 

Detailed Description

Checks every entry of the catalog of standard wizards.

A wizard's rule refers to its fields by number (#1#, #2#, ...), so a field added or dropped without updating the rule silently leaves a "#3#" in the command, or a field the command ignores. Nothing else notices: the wizard opens and looks fine. No GUI and no Maxima needed.