tests-d2d - Unit tests for Draw 2D canvas console
This is a simple set of Unit Tests for testing the D2D API functions. It includes a test for each D2D function as well as a test for memory leaks within the API itself.
Also see these WebAssembly programs that use this API