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>
|
|
| 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[]) |
| |
Tests for wxm::SplitAtTextBreaks(): where a line of plain text Maxima sends may be broken into lines.
GUI-free, so tested directly.