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:
cursor
keep few for check the rendering is also right.
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.
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.