malachite-base 0.4.6

A collection of utilities, including new arithmetic traits and iterators that generate all values of a type
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use malachite_base::comparison::traits::{Max, Min};
use malachite_base::named::Named;

#[test]
fn test_min() {
    assert_eq!(bool::MIN, false);
}

#[test]
fn test_max() {
    assert_eq!(bool::MAX, true);
}

#[test]
pub fn test_named() {
    assert_eq!(bool::NAME, "bool");
}