Skip to content

Commit 8eaac97

Browse files
committed
add raycast test for src == dest
1 parent ac1ccbe commit 8eaac97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/raycast.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ void Test::test_raycast()
101101
{ fm_assert(run( point{{ 0, 0, 0}, { 1, 0}, {-17, 17}},
102102
point{{ 0, - 7, 0}, { 1, 15}, {-11, 5}}, w, true, 6220));
103103
}
104+
{
105+
constexpr auto p = point{
106+
{1, 2, 3},
107+
{4, 5},
108+
{6, 7},
109+
};
110+
run(p, p, w, true, 0);
111+
}
104112
}
105113

106114
} // namespace floormat

0 commit comments

Comments
 (0)