Skip to content

[T2] No test for FindEdgePath on disconnected mesh #22

@csparker247

Description

@csparker247

Summary

FindEdgePath is documented to return an empty vector when no path exists (e.g. source and destination are in different connected components), but this case has no test coverage.

Required Test

In TestHalfEdgeMesh.cpp, add TEST(HalfEdgeMesh, FindPath_Disconnected):

  • Build a mesh with two disconnected components (vertices 0-2 in CC1, vertices 3-5 in CC2)
  • Call FindEdgePath(mesh, 0, 3)
  • Assert the returned path is empty

Conductor Track

T2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions