dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub fn tau() -> f64 {
    std::f64::consts::PI * 2.
}

#[cfg(test)]

mod tests {

    use super::*;

    #[test]

    fn test() {
        assert_eq!(tau(), std::f64::consts::TAU);
    }
}