rfa 0.5.9

A port ERFA to Rust.
Documentation
mod common;
#[cfg(test)]

mod tests{
    use super::common::*;
    use erfa_sys::*;
    use rfa::all::{ursa_xy06};
    #[test]
    pub fn xy06_test(){
        let dj1 = ERFA_DJ00; let dj2 = 365.0;
        for i in 0..20  {
            let dj_new = dj2 + (i*100) as f64;
            let mut erfa_y =0.0; let mut erfa_x =0.0;
            unsafe{eraXy06(dj1, dj_new,&mut erfa_x, &mut erfa_y)};

            let mut rfa_y =0.0; let mut rfa_x =0.0;

            ursa_xy06(dj1, dj_new, &mut rfa_x, &mut rfa_y);
            assert!(rel_equal(erfa_y, rfa_y, 1E-14) );
            assert!(rel_equal(erfa_x, rfa_x, 1E-14) );
        }
    }
}