Skip to content

Raytrace unit tests #73

@brandondube

Description

@brandondube

Unit tests are needed for ray-tracing. A functional test suite that proves the code doesn't crash for each surface type is low-hanging fruit. Some "physics" tests, like a parabola has no ray error for an object at infinity and a sphere no ray error for an object at its focus, shoudl be added.

The lower level functions are probably unit test-able, e.g. that the angle between surface normal and entrance ray is the same as surface normal and exit ray.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions