Skip to content

Commit

Permalink
add drawing to test for illustration
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Oct 11, 2024
1 parent d1d8361 commit 8b0788b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Tests/UnitTests/Core/Geometry/CylinderVolumeStackTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,34 @@ BOOST_AUTO_TEST_CASE(ResizeReproduction2) {
trf3, *logger);
}

// original size
// <--------------->
// +---------------+
// | |
// | |
// | Volume 1 |
// | |
// | |
// +---------------+
// first resize
// <-------------------------->
// +---------------+----------+
// | | |
// | | |
// | Volume 1 | Gap |
// | | | Gap is
// | | | reused!--+
// +---------------+----------+ |
// second resize |
// <-----------------------------------> |
// +---------------+-------------------+ |
// | | | |
// | | | |
// | Volume 1 | Gap |<-----+
// | | |
// | | |
// +---------------+-------------------+
//
BOOST_AUTO_TEST_CASE(ResizeGapMultiple) {
Transform3 trf = Transform3::Identity();
auto bounds = std::make_shared<CylinderVolumeBounds>(70, 100, 100.0);
Expand Down

0 comments on commit 8b0788b

Please sign in to comment.