@@ -402,10 +402,10 @@ func TestFlex_wrap_wrap_to_child_height(t *testing.T) {
402
402
NodeStyleSetWidth (rootChild0Child0 , 100 )
403
403
NodeInsertChild (rootChild0 , rootChild0Child0 , 0 )
404
404
405
- rootChild0Child0_child0 := NewNodeWithConfig (config )
406
- NodeStyleSetWidth (rootChild0Child0_child0 , 100 )
407
- NodeStyleSetHeight (rootChild0Child0_child0 , 100 )
408
- NodeInsertChild (rootChild0Child0 , rootChild0Child0_child0 , 0 )
405
+ rootChild0Child0Child0 := NewNodeWithConfig (config )
406
+ NodeStyleSetWidth (rootChild0Child0Child0 , 100 )
407
+ NodeStyleSetHeight (rootChild0Child0Child0 , 100 )
408
+ NodeInsertChild (rootChild0Child0 , rootChild0Child0Child0 , 0 )
409
409
410
410
rootChild1 := NewNodeWithConfig (config )
411
411
NodeStyleSetWidth (rootChild1 , 100 )
@@ -428,10 +428,10 @@ func TestFlex_wrap_wrap_to_child_height(t *testing.T) {
428
428
assertFloatEqual (t , 100 , rootChild0Child0 .LayoutGetWidth ())
429
429
assertFloatEqual (t , 100 , rootChild0Child0 .LayoutGetHeight ())
430
430
431
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetLeft ())
432
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetTop ())
433
- assertFloatEqual (t , 100 , rootChild0Child0_child0 .LayoutGetWidth ())
434
- assertFloatEqual (t , 100 , rootChild0Child0_child0 .LayoutGetHeight ())
431
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetLeft ())
432
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetTop ())
433
+ assertFloatEqual (t , 100 , rootChild0Child0Child0 .LayoutGetWidth ())
434
+ assertFloatEqual (t , 100 , rootChild0Child0Child0 .LayoutGetHeight ())
435
435
436
436
assertFloatEqual (t , 0 , rootChild1 .LayoutGetLeft ())
437
437
assertFloatEqual (t , 100 , rootChild1 .LayoutGetTop ())
@@ -455,10 +455,10 @@ func TestFlex_wrap_wrap_to_child_height(t *testing.T) {
455
455
assertFloatEqual (t , 100 , rootChild0Child0 .LayoutGetWidth ())
456
456
assertFloatEqual (t , 100 , rootChild0Child0 .LayoutGetHeight ())
457
457
458
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetLeft ())
459
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetTop ())
460
- assertFloatEqual (t , 100 , rootChild0Child0_child0 .LayoutGetWidth ())
461
- assertFloatEqual (t , 100 , rootChild0Child0_child0 .LayoutGetHeight ())
458
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetLeft ())
459
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetTop ())
460
+ assertFloatEqual (t , 100 , rootChild0Child0Child0 .LayoutGetWidth ())
461
+ assertFloatEqual (t , 100 , rootChild0Child0Child0 .LayoutGetHeight ())
462
462
463
463
assertFloatEqual (t , 0 , rootChild1 .LayoutGetLeft ())
464
464
assertFloatEqual (t , 100 , rootChild1 .LayoutGetTop ())
@@ -1476,10 +1476,10 @@ func TestWrap_nodes_with_content_sizing_overflowing_margin(t *testing.T) {
1476
1476
rootChild0Child0 := NewNodeWithConfig (config )
1477
1477
NodeInsertChild (rootChild0 , rootChild0Child0 , 0 )
1478
1478
1479
- rootChild0Child0_child0 := NewNodeWithConfig (config )
1480
- NodeStyleSetWidth (rootChild0Child0_child0 , 40 )
1481
- NodeStyleSetHeight (rootChild0Child0_child0 , 40 )
1482
- NodeInsertChild (rootChild0Child0 , rootChild0Child0_child0 , 0 )
1479
+ rootChild0Child0Child0 := NewNodeWithConfig (config )
1480
+ NodeStyleSetWidth (rootChild0Child0Child0 , 40 )
1481
+ NodeStyleSetHeight (rootChild0Child0Child0 , 40 )
1482
+ NodeInsertChild (rootChild0Child0 , rootChild0Child0Child0 , 0 )
1483
1483
1484
1484
rootChild0child1 := NewNodeWithConfig (config )
1485
1485
NodeStyleSetMargin (rootChild0child1 , EdgeRight , 10 )
@@ -1506,10 +1506,10 @@ func TestWrap_nodes_with_content_sizing_overflowing_margin(t *testing.T) {
1506
1506
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetWidth ())
1507
1507
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetHeight ())
1508
1508
1509
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetLeft ())
1510
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetTop ())
1511
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetWidth ())
1512
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetHeight ())
1509
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetLeft ())
1510
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetTop ())
1511
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetWidth ())
1512
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetHeight ())
1513
1513
1514
1514
assertFloatEqual (t , 0 , rootChild0child1 .LayoutGetLeft ())
1515
1515
assertFloatEqual (t , 40 , rootChild0child1 .LayoutGetTop ())
@@ -1538,10 +1538,10 @@ func TestWrap_nodes_with_content_sizing_overflowing_margin(t *testing.T) {
1538
1538
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetWidth ())
1539
1539
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetHeight ())
1540
1540
1541
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetLeft ())
1542
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetTop ())
1543
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetWidth ())
1544
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetHeight ())
1541
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetLeft ())
1542
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetTop ())
1543
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetWidth ())
1544
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetHeight ())
1545
1545
1546
1546
assertFloatEqual (t , 35 , rootChild0child1 .LayoutGetLeft ())
1547
1547
assertFloatEqual (t , 40 , rootChild0child1 .LayoutGetTop ())
@@ -1570,10 +1570,10 @@ func TestWrap_nodes_with_content_sizing_margin_cross(t *testing.T) {
1570
1570
rootChild0Child0 := NewNodeWithConfig (config )
1571
1571
NodeInsertChild (rootChild0 , rootChild0Child0 , 0 )
1572
1572
1573
- rootChild0Child0_child0 := NewNodeWithConfig (config )
1574
- NodeStyleSetWidth (rootChild0Child0_child0 , 40 )
1575
- NodeStyleSetHeight (rootChild0Child0_child0 , 40 )
1576
- NodeInsertChild (rootChild0Child0 , rootChild0Child0_child0 , 0 )
1573
+ rootChild0Child0Child0 := NewNodeWithConfig (config )
1574
+ NodeStyleSetWidth (rootChild0Child0Child0 , 40 )
1575
+ NodeStyleSetHeight (rootChild0Child0Child0 , 40 )
1576
+ NodeInsertChild (rootChild0Child0 , rootChild0Child0Child0 , 0 )
1577
1577
1578
1578
rootChild0child1 := NewNodeWithConfig (config )
1579
1579
NodeStyleSetMargin (rootChild0child1 , EdgeTop , 10 )
@@ -1600,10 +1600,10 @@ func TestWrap_nodes_with_content_sizing_margin_cross(t *testing.T) {
1600
1600
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetWidth ())
1601
1601
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetHeight ())
1602
1602
1603
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetLeft ())
1604
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetTop ())
1605
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetWidth ())
1606
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetHeight ())
1603
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetLeft ())
1604
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetTop ())
1605
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetWidth ())
1606
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetHeight ())
1607
1607
1608
1608
assertFloatEqual (t , 0 , rootChild0child1 .LayoutGetLeft ())
1609
1609
assertFloatEqual (t , 50 , rootChild0child1 .LayoutGetTop ())
@@ -1632,10 +1632,10 @@ func TestWrap_nodes_with_content_sizing_margin_cross(t *testing.T) {
1632
1632
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetWidth ())
1633
1633
assertFloatEqual (t , 40 , rootChild0Child0 .LayoutGetHeight ())
1634
1634
1635
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetLeft ())
1636
- assertFloatEqual (t , 0 , rootChild0Child0_child0 .LayoutGetTop ())
1637
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetWidth ())
1638
- assertFloatEqual (t , 40 , rootChild0Child0_child0 .LayoutGetHeight ())
1635
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetLeft ())
1636
+ assertFloatEqual (t , 0 , rootChild0Child0Child0 .LayoutGetTop ())
1637
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetWidth ())
1638
+ assertFloatEqual (t , 40 , rootChild0Child0Child0 .LayoutGetHeight ())
1639
1639
1640
1640
assertFloatEqual (t , 30 , rootChild0child1 .LayoutGetLeft ())
1641
1641
assertFloatEqual (t , 50 , rootChild0child1 .LayoutGetTop ())
0 commit comments