1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
// SPDX-FileCopyrightText: 2025 undoredo contributors // // SPDX-License-Identifier: MIT OR Apache-2.0 #[path = "../common/mod.rs"] mod common; use alloc::collections::BTreeSet; use undoredo::Recorder; #[test] fn test_apply_edit_on_set() { let recorder = Recorder::<BTreeSet<i32>>::new(BTreeSet::new()); common::test_apply_edit_on_set(recorder); } #[test] fn test_insert_and_remove_on_set() { let recorder = Recorder::<BTreeSet<i32>>::new(BTreeSet::new()); common::test_insert_and_remove_on_set(recorder); } #[test] fn test_undo_redo_on_set() { common::test_undo_redo_on_set::<i32, BTreeSet<i32>, BTreeSet<i32>>(BTreeSet::new()); }