fn push_and_check_single_item() {
        let list = StableList::new();
        assert_eq!(list.get(0), None);
        list.push(1002);
        assert_eq!(list.get(0), Some(&1002));
        assert_eq!(list.iter().next(), Some(&1002));
    }
/// Test that an item pushed into StableList can then be retrieved via `get` and the iterator
Test that an item pushed into StableList can then be retrieved via `get` and the iterator
Test that an item pushed into StableList can then be retrieved via ` get ` and the iterator
fn push_and_check_single_item() {
        let list = StableList::new();
        assert_eq!(list.get(0), None);
        list.push(1002);
        assert_eq!(list.get(0), Some(&1002));
        assert_eq!(list.iter().next(), Some(&1002));
    }
fn push_and_check_single_item ( ) { let list = StableList :: new ( ) ; assert_eq ! ( list get ( 0 ) None ) ; list . push ( 1002 ) ; assert_eq ! ( list get ( 0 ) Some ( 1002 ) ) ; assert_eq ! ( list iter ( ) next ( ) Some ( 1002 ) ) ; }
Test that an item pushed into StableList can then be retrieved via `get` and the iterator
Test that an item pushed into StableList can then be retrieved via ` get ` and the iterator