Skip to content

[T4] No test for Vec reverse iterators (masks bug #8 / B3) #24

@csparker247

Description

@csparker247

Summary

The incorrect return types on Vec::rbegin()/rend() (#8 / B3) are not caught by the test suite because no test exercises reverse iteration on Vec.

Required Tests

In TestVec.cpp, add TEST(Vec, ReverseIteration):

  • Construct Vec3f{1.f, 2.f, 3.f}
  • Iterate with rbegin()/rend(), assert order is {3.f, 2.f, 1.f}
  • Repeat with crbegin()/crend() on a const Vec3f

Note

This test should be added before fixing #8 (B3) per TDD policy — it should fail to compile until the fix is applied.

Dependencies

Conductor Track

T4

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