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

Tests for ParseMaximaVariableUpdates(), the GUI-free parser for the <variables> XML documents Maxima sends (extracted from wxMaxima::ReadVariables so the parsing is unit-testable). More...

#include "MaximaVariableUpdates.cpp"
#include <catch2/catch.hpp>
#include <wx/init.h>
#include <wx/sstream.h>
Include dependency graph for test_MaximaVariableUpdates.cpp:

Functions

 SCENARIO ("A bound variable is parsed with its raw value")
 
 SCENARIO ("An unbound variable is parsed as not bound")
 
 SCENARIO ("Several variables in one document all arrive")
 
 SCENARIO ("Degenerate documents yield no updates instead of garbage")
 
 SCENARIO ("Watch-list additions are parsed from their own document format")
 
int main (int argc, char **argv)
 

Detailed Description

Tests for ParseMaximaVariableUpdates(), the GUI-free parser for the <variables> XML documents Maxima sends (extracted from wxMaxima::ReadVariables so the parsing is unit-testable).