mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare] Test: fix build for device
This commit is contained in:
@@ -76,7 +76,7 @@ QUIZ_CASE(poincare_layout_fraction_create) {
|
||||
* 12|34+5 -> "Divide" -> --- + 5
|
||||
* |34
|
||||
* */
|
||||
HorizontalLayout layout = static_cast<HorizontalLayout>(LayoutHelper::String("1234+5", 6));
|
||||
Layout layout = LayoutHelper::String("1234+5", 6);
|
||||
LayoutCursor cursor(layout.childAtIndex(2), LayoutCursor::Position::Left);
|
||||
cursor.addFractionLayoutAndCollapseSiblings();
|
||||
assert_layout_serialize_to(layout, "\u0012\u001212\u0013/\u001234\u0013\u0013+5");
|
||||
|
||||
Reference in New Issue
Block a user