malachite-base 0.3.1

A collection of utilities, including new arithmetic traits and iterators that generate all values of a type
Documentation
use malachite_base::named::Named;
use malachite_base::rounding_modes::RoundingMode;

#[test]
pub fn test_named() {
    fn test<T: Named>(out: &str) {
        assert_eq!(T::NAME, out);
    }
    test::<String>("String");
    test::<RoundingMode>("RoundingMode");
}