mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
15 lines
296 B
Rust
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());
|
|
}
|