Some checks failed
rust-ci / checks (push) Has been cancelled
- Rust workspace: 7 library crates, icenetd CLI, icenet-city (Slint GUI) - Sim: fix false Delivered after a route cut, derive traffic class from payload size, per-link airtime slots (link capacity, queueing) - Docs: single docs/STATUS.md for all figures, remove v0.2/egui leftovers, drop unimplemented seed claims, uncheck store-and-forward - License: LGPL-3.0-or-later (LICENSE, LICENSES/GPL-3.0.txt)
11 lines
267 B
Rust
11 lines
267 B
Rust
use icenet_core::{NodeId, TrafficClass};
|
|
use icenet_sim::City;
|
|
|
|
#[test]
|
|
fn city_example_contains_bulk_eligible_route() {
|
|
let city = City::demo();
|
|
assert!(
|
|
city.route(NodeId(1), NodeId(3), TrafficClass::Bulk, 5_000_000)
|
|
.is_some()
|
|
);
|
|
}
|