amount: u128::max_value(), divisibility: 18, symbol: None, } .to_string(), "340282366920938463463.374607431768211455" ); assert_eq!( Pile { amount: u128::max_value(), divisibility: MAX_DIVISIBILITY, symbol: None, } .to_string(), "3.40282366920938463463374607431768211455" ); assert_eq!( Pile { amount: 0, divisibility: 0, symbol: Some('$'), } .to_string(), "$0" ); } }