Re: [PATCH 4/4] Added tests for the vertex clipping code.

2013-09-17 Thread Sam Spilsbury
Thanks. We should probably have a discussion at some point as to the best guidelines on how to split the code up for unit testing purposes. For now I'll move ahead with getting the vertex clipping code to support N vertices while still passing these tests. I probably won't be able to start that fo

Re: [PATCH 4/4] Added tests for the vertex clipping code.

2013-09-17 Thread Kristian Høgsberg
On Fri, Sep 13, 2013 at 10:01:22AM +0800, Sam Spilsbury wrote: > 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

[PATCH 4/4] Added tests for the vertex clipping code.

2013-09-12 Thread Sam Spilsbury
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/Ma

[PATCH 4/4] Added tests for the vertex clipping code.

2013-09-12 Thread Sam Spilsbury
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.a so that we don't have to build weston-test-runner all the time --- tests/Mak

[PATCH 4/4] Added tests for the vertex clipping code.

2013-09-11 Thread Sam Spilsbury
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.a so that we don't have to build weston-test-runner all the time --- tests/Mak