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

The matrix viewer a double-click on an elided matrix opens (GH #2344). More...

#include <wx/app.h>
#include <wx/bitmap.h>
#include <wx/config.h>
#include <wx/dcmemory.h>
#include <wx/frame.h>
#include <wx/log.h>
#include "Configuration.h"
#include "MathParser.h"
#include "cells/CellList.h"
#include "cells/GroupCell.h"
#include "cells/MatrCell.h"
#include "dialogs/MatrixViewer.h"
#include "worksheet/Worksheet.h"
#include <catch2/catch.hpp>
Include dependency graph for test_MatrixViewer.cpp:

Data Structures

class  ViewerConfiguration
 
class  OversizedMatricesMode
 
class  TestApp
 

Functions

 SCENARIO ("The viewer's copy of an elided matrix shows all of it")
 
 SCENARIO ("A double-click finds the matrix the worksheet shows only part of")
 
 SCENARIO ("Double-clicking an elided matrix in the worksheet opens a viewer")
 
 wxDECLARE_APP (TestApp)
 
int main (int argc, char **argv)
 

Detailed Description

The matrix viewer a double-click on an elided matrix opens (GH #2344).

Checks that the viewer's copy shows every entry of a matrix the worksheet only shows part of – whatever the worksheet's setting or the matrix's own oversized option says – and that a double-click finds the right matrix. The matrices are parsed from the XML Maxima sends, so no Maxima is needed.