menpo/menpo — pull request #330 by jalabort (2014-05-08 11:55:18+00:00)
Title: Adds some tests for PCAModel

Tests for:

- Changing `n_active_components`
- Trimming
- Variance coherence and variance coherence after the previous two operations

It also fixes a bunch of bugs in those methods that had never been spotted before due to the lack of tests.