import { DocPair , Mode } from './reference_test' ; const mode = Mode . Sync9 ; const a = new DocPair ( 0 , mode ) ; const b = new DocPair ( 1 , mode ) ; const c = new DocPair ( 2 , mode ) ; const merge = ( a , b ) => a . merge ( b ) ; c . insert ( 0 , 1 ) ; b . insert ( 0 , 2 ) ; a . insert ( 0 , 3 ) ; merge ( a , b ) ; b . insert ( 0 , 4 ) ; b . insert ( 1 , 5 ) ; a . insert ( 2 , 6 ) ; merge ( b , c ) ; c . insert ( 0 , 7 ) ;