[domistream] ENet host: tests first (client against host over an in-memory lossy wire), API stubs
EnetHostPeer is the accepting side, one peer per client address. The tests drive our EnetClient against it with simulated time, loss, duplication and reordering, plus a scripted client for the stock ENet 1.3 facts (verify connect fields, session ids, what is acknowledged when). They fail against the stubs.
This commit is contained in:
@@ -7,6 +7,8 @@ use std::collections::HashMap;
|
||||
|
||||
use domistream::RandomSource;
|
||||
|
||||
pub mod wire;
|
||||
|
||||
// ------------------------------------------------------------------------------------------------ assertions
|
||||
|
||||
/// Asserts that `$e` is `Err` matching `$p` (an `Error` pattern), printing the actual value otherwise.
|
||||
|
||||
Reference in New Issue
Block a user