aboutsummaryrefslogtreecommitdiff
path: root/primrose/tests/example_stack/src/main.rs
blob: daa44d077f76dfbb84cf4cdf9e18ed1b6739ef70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
mod types;
use types::*;

fn main() {
    let mut c = StackCon::<u32>::new();
    for x in 0..10 {
        c.insert(x);
        c.insert(x);
        //c.first();
    }
    assert_eq!(c.len(), 20);
}