pipecircuit-cli 0.0.2

Command-line architectural tools for Pipecircuit programs
1
2
3
4
5
6
7
8
use super::*;

#[test]
fn positive_amount_and_count_preserve_their_values() {
    assert_eq!(Amount::new(NonZeroU64::MIN).get(), 1);
    assert_eq!(Count::ZERO.get(), 0);
    assert_eq!(Count::new(u64::MAX).get(), u64::MAX);
}