def METHOD_NAME(windows_ds, n_windows, n_windows_stride):
    sampler = SequenceSampler(
        windows_ds.get_metadata(), n_windows, n_windows_stride,
        random_state=31)
    seqs = [seq for seq in sampler]
    seq_lens = [(len(ds) - n_windows) // n_windows_stride + 1
                for ds in windows_ds.datasets]
    file_ids = np.concatenate([[i] * l for i, l in enumerate(seq_lens)])
    n_seqs = sum(seq_lens)
    assert len(seqs) == n_seqs
    assert all([len(s) == n_windows for s in seqs])
    for i in range(seq_lens[0] - 1):
        np.testing.assert_array_equal(
            seqs[i][n_windows_stride:], seqs[i + 1][:-n_windows_stride])
    assert (sampler.file_ids == file_ids).all()