summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-20 12:57:55 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-20 15:08:43 +0000
commit1e43d23ae40282ef9c4047c77b7994527ee95b38 (patch)
tree04d89d53d75abfc55998a88d7823489e17dc5665
parentAdd rail network render test (diff)
downloadilt-1e43d23ae40282ef9c4047c77b7994527ee95b38.tar.bz2
ilt-1e43d23ae40282ef9c4047c77b7994527ee95b38.tar.xz
ilt-1e43d23ae40282ef9c4047c77b7994527ee95b38.zip
Add mail rail network to render test, include curves
-rw-r--r--test/test-render.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp
index 19261fe..cc2bba2 100644
--- a/test/test-render.cpp
+++ b/test/test-render.cpp
@@ -170,7 +170,11 @@ BOOST_AUTO_TEST_CASE(railnet)
public:
TestRail()
{
- net.addLinksBetween({10000, 10000, 0}, {100000, 100000, 0});
+ net.addLinksBetween({20000, 10000, 0}, {100000, 100000, 0});
+ net.addLinksBetween({20000, 10000, 0}, {10000, 10000, 0});
+ net.addLinksBetween({10000, 20000, 0}, {100000, 120000, 0});
+ net.addLinksBetween({10000, 20000, 0}, {10000, 10000, 0});
+ net.addLinksBetween({100000, 100000, 0}, {100000, 120000, 0});
}
void