fork/numbat

git clone https://git.julia.blue/fork/numbat

David PeterMake numbat-cli crate standalone testable, closes #1704fe3323

master
126 B4 linesraw
1fn oscillation_time(length: Length) -> Time =
2    2 pi × sqrt(length / g0)
3
4assert_eq(oscillation_time(30 cm), 1.1 s, 0.1 s)