AppFlowy/shared-lib/lib-ot/tests/main.rs
2022-08-22 19:42:43 +08:00

15 lines
296 B
Rust

use lib_ot::core::{DocumentTree, TransactionBuilder};
#[test]
fn main() {
// Create a new arena
let _document = DocumentTree::new();
}
#[test]
fn test_documents() {
let mut document = DocumentTree::new();
let tb = TransactionBuilder::new();
document.apply(tb.finalize());
}