Added tests for the vertex clipping code.
authorSam Spilsbury <smspillaz@gmail.com>
Fri, 13 Sep 2013 02:01:22 +0000 (10:01 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Sep 2013 04:40:34 +0000 (21:40 -0700)
commitb42fb52537a6fcf20a07a7e0a922705ec86b0473
tree97f5a37271c0bef6f0d706089820b13939fc94df
parent619859ce905f1fada7f5f23ae2468c291efac552
Added tests for the vertex clipping code.

This tests (via the table-driven testing method) that the correct
number of vertices and also the correct vertices themselves
are generated for an clip box and polygon of up to eight vertices.

Also add a libshared-test.la so that we don't have to build weston-test-runner
all the time
tests/Makefile.am
tests/vertex-clip-test.c [new file with mode: 0644]