<commit_before>use std::collections::VecDeque;

#[macro_use]
extern crate sliding_window;
use sliding_window::SliceRing;
use sliding_window::OptimizedSliceRing;

#[test]
fn test_deque_slice_ring() {
    test_slice_ring!(VecDeque::<i32>::new());
}

#[test]
fn test_optimized_slice_ring() {
    test_slice_ring!(OptimizedSliceRing::<i32>::new());
}
// #[test]
// fn test_window_1_step_1() {
//     let mut sliding_window: SlidingWindow<i32> = SlidingWindow::new(1, 1);
//     assert!(!sliding_window.can_fill());<commit_msg>improve test naming<commit_after>use std::collections::VecDeque;

#[macro_use]
extern crate sliding_window;
use sliding_window::SliceRing;
use sliding_window::OptimizedSliceRing;

#[test]
fn test_slice_ring_unoptimized() {
    test_slice_ring!(VecDeque::<i32>::new());
}

#[test]
fn test_slice_ring_optimized() {
    test_slice_ring!(OptimizedSliceRing::<i32>::new());
}
// #[test]
// fn test_window_1_step_1() {
//     let mut sliding_window: SlidingWindow<i32> = SlidingWindow::new(1, 1);
//     assert!(!sliding_window.can_fill());
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.01893939393939394, 'mean_word_length': 6.947368421052632, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3042846', 'n_tokens_mistral': 405, 'n_tokens_neox': 391, 'n_words': 57}