bitflags-lite 0.2.0

Lightweight generics-based bitflags
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Tests for `util.rs` file.

#![allow(unused_crate_dependencies, reason = "okay in tests")]

use bitflags_lite::util;

#[test]
fn test_const_max() {
    assert_eq!(util::__const_max(&[1, 5, 3]), 5);
    assert_eq!(util::__const_max(&[9, 5, 1]), 9);
}