Crate automerge_test

source ·

Macros

This macro makes it easy to make assertions about a document. It is called with two arguments, the first is a reference to an automerge::Automerge, the second is an instance of RealizedObject<ExportableOpId>.
Like assert_doc except that you can specify an object ID and property to select subsections of the document.
Construct RealizedObject::Sequence. This macro represents a sequence of values
Construct RealizedObject::Map. This macro takes a nested set of curl braces. The outer set is the keys of the map, the inner set is the set of values for that key:

Structs

Enums

A RealizedObject is a representation of all the current values in a document - including conflicts.

Functions

Pretty print the contents of a document
Returns two actor IDs, the first considered to be ordered before the second