<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `tests` crate."><metaname="keywords"content="rust, rustlang, rust-lang, tests"><title>tests - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../ayu.css"disabled><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../tests/index.html'><divclass='logo-container rust-logo'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Crate tests</p><divclass='block version'><p>Version 0.1.0</p></div><divclass="sidebar-elems"><aid='all-types'href='all.html'><p>See all tests's items</p></a><divclass="block items"><ul><li><ahref="#functions">Functions</a></li></ul></div><pclass='location'></p><script>window.sidebarCurrent={name:'tests',ty:'mod',relpath:'../'};</script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"disabledautocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><spanclass="help-button">?</span>
<table><trclass='module-item'><td><aclass="fn"href="fn.check_proposals.html"title='tests::check_proposals fn'>check_proposals</a></td><tdclass='docblock-short'><p>Verify all edits under version control can be correctly apply to their map.</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.dump_route_goldenfile.html"title='tests::dump_route_goldenfile fn'>dump_route_goldenfile</a></td><tdclass='docblock-short'><p>Describe all public transit routes and keep under version control to spot diffs easily.</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.dump_turn_goldenfile.html"title='tests::dump_turn_goldenfile fn'>dump_turn_goldenfile</a></td><tdclass='docblock-short'><p>Verify what turns are generated by writing (from lane, to lane, turn type).</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.import_map.html"title='tests::import_map fn'>import_map</a></td><tdclass='docblock-short'><p>Run the contents of a .osm through the full map importer with default options.</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.main.html"title='tests::main fn'>main</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="fn"href="fn.smoke_test.html"title='tests::smoke_test fn'>smoke_test</a></td><tdclass='docblock-short'><p>Simulate an hour on every map.</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.test_lane_changing.html"title='tests::test_lane_changing fn'>test_lane_changing</a></td><tdclass='docblock-short'><p>Verify lane-chaging behavior is overall reasonable, by asserting all cars and bikes can
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.test_map_importer.html"title='tests::test_map_importer fn'>test_map_importer</a></td><tdclass='docblock-short'><p>Test the map pipeline by importing simple, handcrafted .osm files, then emitting goldenfiles
that summarize part of the generated map. Keep the goldenfiles under version control to notice
when they change. The goldenfiles (and changes to them) themselves aren't easy to understand,