diff --git a/src/handwriting/snapshots/inkr__handwriting__test__deserialized handwriting.snap b/src/handwriting/snapshots/inkr__handwriting__test__deserialized handwriting.snap new file mode 100644 index 0000000..8a05d60 --- /dev/null +++ b/src/handwriting/snapshots/inkr__handwriting__test__deserialized handwriting.snap @@ -0,0 +1,19 @@ +--- +source: src/handwriting/mod.rs +expression: deserialized.strokes +--- +[ + [ + [-1.0 1.0], + [3.0 1.0], + [3.0 3.0], + [1.5 2.0], + [0.0 0.0], + ], + [ + [3.0 3.0], + [-1.0 1.0], + [0.0 0.0], + [3.0 1.0], + ], +] diff --git a/src/handwriting/snapshots/inkr__handwriting__test__handwriting example.snap b/src/handwriting/snapshots/inkr__handwriting__test__handwriting example.snap new file mode 100644 index 0000000..d7ed7e8 --- /dev/null +++ b/src/handwriting/snapshots/inkr__handwriting__test__handwriting example.snap @@ -0,0 +1,19 @@ +--- +source: src/handwriting/mod.rs +expression: handwriting.strokes +--- +[ + [ + [-1.0 1.0], + [3.0 1.0], + [3.0 3.0], + [1.5 2.0], + [0.0 0.0], + ], + [ + [3.0 3.0], + [-1.0 1.0], + [0.0 0.0], + [3.0 1.0], + ], +] diff --git a/src/handwriting/snapshots/inkr__handwriting__test__serialized handwriting.snap b/src/handwriting/snapshots/inkr__handwriting__test__serialized handwriting.snap new file mode 100644 index 0000000..0fabc56 --- /dev/null +++ b/src/handwriting/snapshots/inkr__handwriting__test__serialized handwriting.snap @@ -0,0 +1,7 @@ +--- +source: src/handwriting/mod.rs +expression: serialized +--- +```handwriting +AQAFAAC8ADwAQgA8AEIAQgA+AEAAAAAABAAAQgBCALwAPAAAAAAAQgA8 +``` diff --git a/src/snapshots/inkr__custom_code_block__test__iter_markdown-2.snap b/src/snapshots/inkr__custom_code_block__test__iter_markdown-2.snap new file mode 100644 index 0000000..68df3b6 --- /dev/null +++ b/src/snapshots/inkr__custom_code_block__test__iter_markdown-2.snap @@ -0,0 +1,43 @@ +--- +source: src/custom_code_block.rs +expression: list +--- +[ + Line( + "\n", + ), + Line( + "# Hello world\n", + ), + Line( + "## Subheader\n", + ), + Line( + "- 1\n", + ), + CodeBlock { + key: "foo", + content: " whatever\n some code\n Hi mom!", + span: "```foo\n whatever\n some code\n Hi mom!\n```", + }, + Line( + " \n", + ), + Line( + "\n", + ), + CodeBlock { + key: "` # wrong number of ticks, but that's ok", + content: " ``` # indented ticks", + span: "```` # wrong number of ticks, but that's ok\n ``` # indented ticks\n```\n", + }, + Line( + "\n", + ), + Line( + "``` # no closing ticks\n", + ), + Line( + " ", + ), +]