Raffaello / sdl2-vga-terminal

SDL2 VGA Terminal
MIT License
6 stars 1 forks source link

[Test] create "state snapshot" for logic aspect #155

Open Raffaello opened 4 years ago

Raffaello commented 4 years ago

convert some snapshot (images) to state snapshot (dump all the _pGrid values terminalChar_t)

and compare those instead of the pixels rendered to the screen...

it should work properly for all, except:


keep both at the end....


there is not a real benefit compare to image snapshot testing technique, but should be faster and doesn't require a video driver to display on the screen, so i can run on linux too.

at the same time a final phase to detect that the render has been done properly make sense, so keep the image snapshot too.