tskit 0.1.2

rust interface to tskit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// These tests basically make sure that we
// can actually bind these things

#[cfg(test)]
mod tests {
    use crate::*;

    #[test]
    fn test_node_is_sample() {
        let x = bindings::TSK_NODE_IS_SAMPLE;
        assert!(x > 0);
    }

    #[test]
    fn test_tsk_null() {
        assert_eq!(TSK_NULL, -1);
    }
}