Commit Graph

19 Commits (0d696be0ccb421f65db3d9e445e7edcaac6690f7)

Author SHA1 Message Date
nick black 8f78a8fdc0 fade tests: don't use CLOCK_MONOTONIC_RAW 4 years ago
nick black 6edc6f098f
streamline unit test common initialization 4 years ago
nick black e2a94817e7 tests: lots of NULL->nullptr 4 years ago
nick black a7f17040ce another scrolling unit test 4 years ago
Nick Black 4e58747709
ncplane_rotate_cw() and ncplane_rotate_ccw() (#396)
Introduce limited plane rotation capability. We currently support clockwise and counterclockwise rotation of planes. Square and rectangular geometries are both supported, but there must be an even number of columns. The atomic unit of rotation is a 2x1 "square" (this assumes .5 cell aspect ratio). We can only rotate those glyphs which have rotated equivalents, and not even all of those. We currently handle only:

* null glyph
* space
* upper half block
* lower half block
* full block

I've added unit tests as well. This functionality is used by our Tetris example in the book
4 years ago
nick black 124004c87c add nplane_polyfill_yx() #340 4 years ago
nick black b02acd8631
Curry a void* to fader callbacks #284 5 years ago
nick black 7c687faea0
pulsing text + unit test + docs #163 5 years ago
nick black 7e59cf1053
don't print Term line with suppress_banner 5 years ago
Nick Black ce2a390b52
Out with googletest, in with doctest #202 (#231)
* introduce doctest over googletest #202
* call dtester in in targets
* doctest conversion #202
* channel.cpp -> doctest #202
* egcpool tests -> doctest #202
* input tests to doctester
* zaxis -> doctest
* drone: always define LANG
* libav to doctest #202
* panelreel tests to doctest #202
* spec that a C++17 compiler is now required for doctest #202
* enmetric tests -> doctest #202
* fade tests -> doctest #202
* notcurses test case -> doctest #202
* last conversion to doctest #202
* finish move to doctest #202
* drone: set up make test
5 years ago
nick black 132793211c
capabilities testing for fade/ffmpeg 5 years ago
nick black fb0e03fe89 UMOK: fadecb for faders #162 5 years ago
Nick Black ff463d464e
Channels API sanity #119 (#138)
* orthogonalize channel/channels/cells APIs #119
* sync README.md with new ncplane channels api #119
5 years ago
nick black 23f8a070b3
unit tests: don't try to close a NULL outfp_ 5 years ago
nick black ca2f0471c3
setlocale(LC_ALL, "") everywhere 5 years ago
nick black 1821867e35
move outfp out of notcurses_options #130 5 years ago
nick black 7eafdd6772
fix up unit testing sanity 5 years ago
nick black f40f8cfb15 use background in fade unit tests 5 years ago
nick black 0e4080456c fade unit tests #40 5 years ago