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

Tests for wxm::SplitAtTextBreaks(): where a line of plain text Maxima sends may be broken into lines. More...

#include "TextBreaks.h"
#include <vector>
#include <catch2/catch.hpp>
Include dependency graph for test_TextBreaks.cpp:

Functions

 SCENARIO ("A line is split after every character a line may be broken after")
 
 SCENARIO ("Some places a break character occurs don't allow a break")
 
 SCENARIO ("Splitting a line never changes its text")
 
int main (int argc, char *argv[])
 

Detailed Description

Tests for wxm::SplitAtTextBreaks(): where a line of plain text Maxima sends may be broken into lines.

GUI-free, so tested directly.