resonata 0.3.0

A music theory library for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(test)]
mod tests {
    use crate::notes::Accidental;

    #[test]
    fn test_add() {
        let a = Accidental::Flat(1);
        let b = Accidental::Sharp(2);
        assert_eq!(a + 3, b);
    }
}