Skip to content

Corner case tests #200

Description

@cgyurgyik

Here is a list of corner case examples that I believe should be covered in our test suite. These tests help us verify the correctness of our code, and eliminate any discrepancies I may have produced in the cpp version.

  1. ray origin is within sphere and within bounds [1, N] (i.e. exclusive). For example, if N = 4, the ray origin should be within radial voxel 2 or 3.
  2. ray origin begins on an angular boundary.
  3. ray origin begins on an azimuthal boundary.
  4. ray origin begins on a radial_boundary within the sphere.
  5. Double intersection with radial/polar voxel

Edit: One more. We want to hit the following case in angular_hit:
(is_intersect_max && is_collinear_min)) . This might be more up Ariel's alley.

Metadata

Metadata

Labels

testingAny questions and concerns about testing.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions