Rename to piar

This commit is contained in:
2016-06-07 17:39:08 +02:00
parent 75b63a9a78
commit 7309717303
3 changed files with 14 additions and 2 deletions

View File

@@ -91,3 +91,15 @@ fn expm(p: f64, ak: f64) -> f64 {
r
}
#[cfg(test)]
mod tests { // TODO: use a tests directory instead?
use super::get_byte;
#[test]
fn test_get_byte() {
assert_eq!(36, get_byte(0));
assert_eq!(163, get_byte(10));
assert_eq!(41, get_byte(100));
}
}