Skip to content

Commit

Permalink
adds tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wadym committed Jul 21, 2023
1 parent bd83d27 commit a4a6acd
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions api/tests/integration/ref/formats/cdx_to_ket.py.out
Original file line number Diff line number Diff line change
Expand Up @@ -3507,3 +3507,39 @@ simple_rgrp64.cdx
]
}
}
x_sup.cdx
{
"root": {
"nodes": [
{
"type": "text",
"data": {
"content": "{\"blocks\":[{\"text\":\"X2\",\"inlineStyleRanges\":[{\"offset\":0,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":1,\"length\":1,\"style\":\"SUPERSCRIPT\"},{\"offset\":1,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"}],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"position": {
"x": 6.925000190734863,
"y": -7.525000095367432,
"z": 0.0
}
}
}
]
}
}
x_sup_sub_default_size.cdx
{
"root": {
"nodes": [
{
"type": "text",
"data": {
"content": "{\"blocks\":[{\"text\":\"X2D3C4D\",\"inlineStyleRanges\":[{\"offset\":0,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":1,\"length\":1,\"style\":\"SUPERSCRIPT\"},{\"offset\":1,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":2,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":3,\"length\":1,\"style\":\"SUBSCRIPT\"},{\"offset\":3,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":4,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":5,\"length\":1,\"style\":\"SUPERSCRIPT\"},{\"offset\":5,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"},{\"offset\":6,\"length\":1,\"style\":\"CUSTOM_FONT_SIZE_12px\"}],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
"position": {
"x": 8.300000190734864,
"y": -10.050000190734864,
"z": 0.0
}
}
}
]
}
}
Binary file not shown.
Binary file not shown.

0 comments on commit a4a6acd

Please sign in to comment.