assessment 1.0.0

A library that allows different types of assessments, to convert between them and to perform basic operations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Counts number of elements.
///
/// It's used in other macros.
///
/// # Examples
///
/// ```
/// # pub use assessment::count;
/// assert_eq!(count![3 "a" 5.7], 3);
/// ```
///
#[macro_export]
macro_rules! count {
    () => (0usize);
    ( $x:tt $($xs:tt)* ) => (1usize + $crate::count!($($xs)*));
}