Increase unit test coverage

Description

The unit testing coverage in yt is quite low at this time; while answer testing is relatively good, the number of isolated code units that are being tested is low.
This can be addressed by using Nose, and NumPy's plugins for Nose, to run numerous tests over some fundamental code pieces. The structure for this will be:

yt/something/

will feature tests in the directory:

yt/something/tests/

This ticket will be closed when the following items have unit tests added to them:

  • kD-tree for nearest neighbor

  • Geometric selection routines

  • Profiles

  • Projections – underlying quadtree

  • Data object selection of data containers

  • Data object selection of points

  • Orientation class

  • Pixelization

  • Color maps

  • PNG writing

Environment

None

Status

Assignee

MattT

Reporter

MattT

Labels

None

Components

Fix versions

Affects versions

2.5

Priority

Blocker
Configure