wxMaxima
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
test_WorksheetPreview.cpp File Reference

The sample worksheet the configuration dialog's "Worksheet" tab shows to preview what its display settings do. More...

#include <wx/app.h>
#include <wx/bitmap.h>
#include <wx/dcmemory.h>
#include <wx/frame.h>
#include <wx/log.h>
#include "Configuration.h"
#include "cells/GroupCell.h"
#include "cells/LabelCell.h"
#include "cells/MatrCell.h"
#include "dialogs/WorksheetPreview.h"
#include "worksheet/Worksheet.h"
#include <catch2/catch.hpp>
Include dependency graph for test_WorksheetPreview.cpp:

Data Structures

class  TestApp
 

Typedefs

using Topic = WorksheetPreview::Topic
 

Functions

 SCENARIO ("The Worksheet tab's preview has every topic, in order")
 
 SCENARIO ("The preview's labels follow the label settings")
 
 SCENARIO ("The preview's multiplication signs follow the settings")
 
 SCENARIO ("The preview's special symbols follow their settings")
 
 SCENARIO ("The preview's long number is 200!")
 
 SCENARIO ("The Worksheet tab's preview holds an oversized matrix")
 
 wxDECLARE_APP (TestApp)
 
int main (int argc, char **argv)
 

Detailed Description

The sample worksheet the configuration dialog's "Worksheet" tab shows to preview what its display settings do.

Checks that each topic the dialog scrolls to exists and is followed by the cells it is about, and that those cells react to the settings they are there to show. The output is parsed from the XML Maxima would send, so no Maxima is needed.