Menu
cosmic-mobile
publicLatest change d22956783f74f68f3d7eff1dd31f885aaf0fbe3e - Checkpoint BúiOS prototype and document clean-worktree workflow by AkurAI Build
#[path = "../src/boot.rs"]
mod boot;
#[test]
fn finishes_and_particles_converge() {
assert!(boot::active(0.));
assert!(!boot::active(3.));
let a = boot::particle(12, 0.);
let b = boot::particle(12, 2.);
assert!(a.0.is_finite() && a.1.is_finite());
assert!(b.0.abs() < 150. && b.1.abs() < 80.);
assert_eq!(b, boot::particle(12, 2.5));
}