main.rs 292 B

1234567891011121314
  1. use lib_ot::core::{DocumentTree, TransactionBuilder};
  2. #[test]
  3. fn main() {
  4. // Create a new arena
  5. let _document = DocumentTree::new();
  6. }
  7. #[test]
  8. fn test_documents() {
  9. let document = DocumentTree::new();
  10. let tb = TransactionBuilder::new();
  11. document.apply(tb.finalize());
  12. }