mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-24 01:18:56 +00:00
15 lines
292 B
Rust
15 lines
292 B
Rust
use lib_ot::core::{DocumentTree, TransactionBuilder};
|
|
|
|
#[test]
|
|
fn main() {
|
|
// Create a new arena
|
|
let _document = DocumentTree::new();
|
|
}
|
|
|
|
#[test]
|
|
fn test_documents() {
|
|
let document = DocumentTree::new();
|
|
let tb = TransactionBuilder::new();
|
|
document.apply(tb.finalize());
|
|
}
|