README.txt (1473B)
1 This directory contains several tests for DPF related things, from graphics to plugin stuff to utilities. 2 Each *.cpp file is meant to be its own test. 3 4 In order to test DPF components individually, some of these tests do not link against DGL but import/include its files. 5 All test files must be self-contained, in order to prevent surprises in regards global state and initialization stuff. 6 7 The following tests are present: 8 9 - Application 10 Verifies that creating an application instance and its event loop is working correctly. 11 This test should automatically close itself without errors after a few seconds 12 13 - Circle 14 TODO 15 16 - Color 17 Runs a few unit-tests on top of the Color class. Mostly complete but still WIP. 18 19 - Demo 20 A full window with widgets to verify that contents are being drawn correctly, window can be resized and events work. 21 Can be used in both Cairo and OpenGL modes, the Vulkan variant does not work right now. 22 23 - Line 24 TODO 25 26 - NanoSubWidgets 27 Verifies that NanoVG subwidgets are being drawn properly, and that hide/show calls work as intended. 28 There should be a grey background with 3 squares on top, one of hiding every half second in a sequence. 29 30 - Point 31 Runs a few unit-tests on top of the Point class. Mostly complete but still WIP. 32 33 - Rectangle 34 TODO 35 36 - Triangle 37 TODO 38 39 - Window 40 Runs a few basic tests with Window showing, hiding and event loop. 41 Will try to create a window on screen. 42 Should automatically close after a few seconds.