au 0.10.0

Automatic control systems library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[macro_use]
extern crate approx;

use std::str::FromStr;

use au::{damp, num_complex::Complex, pulse};

/// TC6.1
#[test]
fn damping_of_zero() {
    let zero = Complex::from_str("0").unwrap();
    assert_relative_eq!(0., pulse(zero));
    assert_relative_eq!(-1., damp(zero));
}