Skip to content

Commit 151d161

Browse files
cortinicometa-codesync[bot]
authored andcommitted
Fix main by running yarn gentest (#1869)
Summary: Pull Request resolved: #1869 Reviewed By: joevilches Differential Revision: D92402038 Pulled By: cortinico fbshipit-source-id: 07e8cefc7c864589abae1ed7880fb0a9427f5b59
1 parent 32ec5d5 commit 151d161

3 files changed

Lines changed: 63 additions & 63 deletions

File tree

java/tests/generated/com/facebook/yoga/YGIntrinsicSizeTest.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<96b528db5cda18b4993df8a0a5ce62a1>>
7+
* @generated SignedSource<<750c3eb87df8af0b92ba799ed2d61227>>
88
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGIntrinsicSizeTest.html
99
*/
1010

@@ -2272,20 +2272,20 @@ public void test_max_content_min_height() {
22722272
assertEquals(0f, root.getLayoutX(), 0.0f);
22732273
assertEquals(0f, root.getLayoutY(), 0.0f);
22742274
assertEquals(50f, root.getLayoutWidth(), 0.0f);
2275-
assertEquals(175f, root.getLayoutHeight(), 0.0f);
2275+
assertEquals(100f, root.getLayoutHeight(), 0.0f);
22762276

22772277
assertEquals(0f, root_child0.getLayoutX(), 0.0f);
22782278
assertEquals(0f, root_child0.getLayoutY(), 0.0f);
22792279
assertEquals(50f, root_child0.getLayoutWidth(), 0.0f);
22802280
assertEquals(50f, root_child0.getLayoutHeight(), 0.0f);
22812281

2282-
assertEquals(0f, root_child1.getLayoutX(), 0.0f);
2283-
assertEquals(50f, root_child1.getLayoutY(), 0.0f);
2282+
assertEquals(50f, root_child1.getLayoutX(), 0.0f);
2283+
assertEquals(0f, root_child1.getLayoutY(), 0.0f);
22842284
assertEquals(50f, root_child1.getLayoutWidth(), 0.0f);
22852285
assertEquals(100f, root_child1.getLayoutHeight(), 0.0f);
22862286

2287-
assertEquals(0f, root_child2.getLayoutX(), 0.0f);
2288-
assertEquals(150f, root_child2.getLayoutY(), 0.0f);
2287+
assertEquals(100f, root_child2.getLayoutX(), 0.0f);
2288+
assertEquals(0f, root_child2.getLayoutY(), 0.0f);
22892289
assertEquals(50f, root_child2.getLayoutWidth(), 0.0f);
22902290
assertEquals(25f, root_child2.getLayoutHeight(), 0.0f);
22912291

@@ -2295,20 +2295,20 @@ public void test_max_content_min_height() {
22952295
assertEquals(0f, root.getLayoutX(), 0.0f);
22962296
assertEquals(0f, root.getLayoutY(), 0.0f);
22972297
assertEquals(50f, root.getLayoutWidth(), 0.0f);
2298-
assertEquals(175f, root.getLayoutHeight(), 0.0f);
2298+
assertEquals(100f, root.getLayoutHeight(), 0.0f);
22992299

23002300
assertEquals(0f, root_child0.getLayoutX(), 0.0f);
23012301
assertEquals(0f, root_child0.getLayoutY(), 0.0f);
23022302
assertEquals(50f, root_child0.getLayoutWidth(), 0.0f);
23032303
assertEquals(50f, root_child0.getLayoutHeight(), 0.0f);
23042304

2305-
assertEquals(0f, root_child1.getLayoutX(), 0.0f);
2306-
assertEquals(50f, root_child1.getLayoutY(), 0.0f);
2305+
assertEquals(-50f, root_child1.getLayoutX(), 0.0f);
2306+
assertEquals(0f, root_child1.getLayoutY(), 0.0f);
23072307
assertEquals(50f, root_child1.getLayoutWidth(), 0.0f);
23082308
assertEquals(100f, root_child1.getLayoutHeight(), 0.0f);
23092309

2310-
assertEquals(0f, root_child2.getLayoutX(), 0.0f);
2311-
assertEquals(150f, root_child2.getLayoutY(), 0.0f);
2310+
assertEquals(-100f, root_child2.getLayoutX(), 0.0f);
2311+
assertEquals(0f, root_child2.getLayoutY(), 0.0f);
23122312
assertEquals(50f, root_child2.getLayoutWidth(), 0.0f);
23132313
assertEquals(25f, root_child2.getLayoutHeight(), 0.0f);
23142314
}
@@ -2353,20 +2353,20 @@ public void test_fit_content_min_height() {
23532353
assertEquals(0f, root_child0.getLayoutX(), 0.0f);
23542354
assertEquals(0f, root_child0.getLayoutY(), 0.0f);
23552355
assertEquals(50f, root_child0.getLayoutWidth(), 0.0f);
2356-
assertEquals(175f, root_child0.getLayoutHeight(), 0.0f);
2356+
assertEquals(100f, root_child0.getLayoutHeight(), 0.0f);
23572357

23582358
assertEquals(0f, root_child0_child0.getLayoutX(), 0.0f);
23592359
assertEquals(0f, root_child0_child0.getLayoutY(), 0.0f);
23602360
assertEquals(50f, root_child0_child0.getLayoutWidth(), 0.0f);
23612361
assertEquals(50f, root_child0_child0.getLayoutHeight(), 0.0f);
23622362

2363-
assertEquals(0f, root_child0_child1.getLayoutX(), 0.0f);
2364-
assertEquals(50f, root_child0_child1.getLayoutY(), 0.0f);
2363+
assertEquals(50f, root_child0_child1.getLayoutX(), 0.0f);
2364+
assertEquals(0f, root_child0_child1.getLayoutY(), 0.0f);
23652365
assertEquals(50f, root_child0_child1.getLayoutWidth(), 0.0f);
23662366
assertEquals(100f, root_child0_child1.getLayoutHeight(), 0.0f);
23672367

2368-
assertEquals(0f, root_child0_child2.getLayoutX(), 0.0f);
2369-
assertEquals(150f, root_child0_child2.getLayoutY(), 0.0f);
2368+
assertEquals(100f, root_child0_child2.getLayoutX(), 0.0f);
2369+
assertEquals(0f, root_child0_child2.getLayoutY(), 0.0f);
23702370
assertEquals(50f, root_child0_child2.getLayoutWidth(), 0.0f);
23712371
assertEquals(25f, root_child0_child2.getLayoutHeight(), 0.0f);
23722372

@@ -2381,20 +2381,20 @@ public void test_fit_content_min_height() {
23812381
assertEquals(0f, root_child0.getLayoutX(), 0.0f);
23822382
assertEquals(0f, root_child0.getLayoutY(), 0.0f);
23832383
assertEquals(50f, root_child0.getLayoutWidth(), 0.0f);
2384-
assertEquals(175f, root_child0.getLayoutHeight(), 0.0f);
2384+
assertEquals(100f, root_child0.getLayoutHeight(), 0.0f);
23852385

23862386
assertEquals(0f, root_child0_child0.getLayoutX(), 0.0f);
23872387
assertEquals(0f, root_child0_child0.getLayoutY(), 0.0f);
23882388
assertEquals(50f, root_child0_child0.getLayoutWidth(), 0.0f);
23892389
assertEquals(50f, root_child0_child0.getLayoutHeight(), 0.0f);
23902390

2391-
assertEquals(0f, root_child0_child1.getLayoutX(), 0.0f);
2392-
assertEquals(50f, root_child0_child1.getLayoutY(), 0.0f);
2391+
assertEquals(-50f, root_child0_child1.getLayoutX(), 0.0f);
2392+
assertEquals(0f, root_child0_child1.getLayoutY(), 0.0f);
23932393
assertEquals(50f, root_child0_child1.getLayoutWidth(), 0.0f);
23942394
assertEquals(100f, root_child0_child1.getLayoutHeight(), 0.0f);
23952395

2396-
assertEquals(0f, root_child0_child2.getLayoutX(), 0.0f);
2397-
assertEquals(150f, root_child0_child2.getLayoutY(), 0.0f);
2396+
assertEquals(-100f, root_child0_child2.getLayoutX(), 0.0f);
2397+
assertEquals(0f, root_child0_child2.getLayoutY(), 0.0f);
23982398
assertEquals(50f, root_child0_child2.getLayoutWidth(), 0.0f);
23992399
assertEquals(25f, root_child0_child2.getLayoutHeight(), 0.0f);
24002400
}

javascript/tests/generated/YGIntrinsicSizeTest.test.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<3f04f55b43e5a47ed2f33485e63ac039>>
7+
* @generated SignedSource<<c6d33d5e664485688ec3c3d198bab49f>>
88
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGIntrinsicSizeTest.html
99
*/
1010

@@ -2409,20 +2409,20 @@ test.skip('max_content_min_height', () => {
24092409
expect(root.getComputedLeft()).toBe(0);
24102410
expect(root.getComputedTop()).toBe(0);
24112411
expect(root.getComputedWidth()).toBe(50);
2412-
expect(root.getComputedHeight()).toBe(175);
2412+
expect(root.getComputedHeight()).toBe(100);
24132413

24142414
expect(root_child0.getComputedLeft()).toBe(0);
24152415
expect(root_child0.getComputedTop()).toBe(0);
24162416
expect(root_child0.getComputedWidth()).toBe(50);
24172417
expect(root_child0.getComputedHeight()).toBe(50);
24182418

2419-
expect(root_child1.getComputedLeft()).toBe(0);
2420-
expect(root_child1.getComputedTop()).toBe(50);
2419+
expect(root_child1.getComputedLeft()).toBe(50);
2420+
expect(root_child1.getComputedTop()).toBe(0);
24212421
expect(root_child1.getComputedWidth()).toBe(50);
24222422
expect(root_child1.getComputedHeight()).toBe(100);
24232423

2424-
expect(root_child2.getComputedLeft()).toBe(0);
2425-
expect(root_child2.getComputedTop()).toBe(150);
2424+
expect(root_child2.getComputedLeft()).toBe(100);
2425+
expect(root_child2.getComputedTop()).toBe(0);
24262426
expect(root_child2.getComputedWidth()).toBe(50);
24272427
expect(root_child2.getComputedHeight()).toBe(25);
24282428

@@ -2431,20 +2431,20 @@ test.skip('max_content_min_height', () => {
24312431
expect(root.getComputedLeft()).toBe(0);
24322432
expect(root.getComputedTop()).toBe(0);
24332433
expect(root.getComputedWidth()).toBe(50);
2434-
expect(root.getComputedHeight()).toBe(175);
2434+
expect(root.getComputedHeight()).toBe(100);
24352435

24362436
expect(root_child0.getComputedLeft()).toBe(0);
24372437
expect(root_child0.getComputedTop()).toBe(0);
24382438
expect(root_child0.getComputedWidth()).toBe(50);
24392439
expect(root_child0.getComputedHeight()).toBe(50);
24402440

2441-
expect(root_child1.getComputedLeft()).toBe(0);
2442-
expect(root_child1.getComputedTop()).toBe(50);
2441+
expect(root_child1.getComputedLeft()).toBe(-50);
2442+
expect(root_child1.getComputedTop()).toBe(0);
24432443
expect(root_child1.getComputedWidth()).toBe(50);
24442444
expect(root_child1.getComputedHeight()).toBe(100);
24452445

2446-
expect(root_child2.getComputedLeft()).toBe(0);
2447-
expect(root_child2.getComputedTop()).toBe(150);
2446+
expect(root_child2.getComputedLeft()).toBe(-100);
2447+
expect(root_child2.getComputedTop()).toBe(0);
24482448
expect(root_child2.getComputedWidth()).toBe(50);
24492449
expect(root_child2.getComputedHeight()).toBe(25);
24502450
} finally {
@@ -2494,20 +2494,20 @@ test.skip('fit_content_min_height', () => {
24942494
expect(root_child0.getComputedLeft()).toBe(0);
24952495
expect(root_child0.getComputedTop()).toBe(0);
24962496
expect(root_child0.getComputedWidth()).toBe(50);
2497-
expect(root_child0.getComputedHeight()).toBe(175);
2497+
expect(root_child0.getComputedHeight()).toBe(100);
24982498

24992499
expect(root_child0_child0.getComputedLeft()).toBe(0);
25002500
expect(root_child0_child0.getComputedTop()).toBe(0);
25012501
expect(root_child0_child0.getComputedWidth()).toBe(50);
25022502
expect(root_child0_child0.getComputedHeight()).toBe(50);
25032503

2504-
expect(root_child0_child1.getComputedLeft()).toBe(0);
2505-
expect(root_child0_child1.getComputedTop()).toBe(50);
2504+
expect(root_child0_child1.getComputedLeft()).toBe(50);
2505+
expect(root_child0_child1.getComputedTop()).toBe(0);
25062506
expect(root_child0_child1.getComputedWidth()).toBe(50);
25072507
expect(root_child0_child1.getComputedHeight()).toBe(100);
25082508

2509-
expect(root_child0_child2.getComputedLeft()).toBe(0);
2510-
expect(root_child0_child2.getComputedTop()).toBe(150);
2509+
expect(root_child0_child2.getComputedLeft()).toBe(100);
2510+
expect(root_child0_child2.getComputedTop()).toBe(0);
25112511
expect(root_child0_child2.getComputedWidth()).toBe(50);
25122512
expect(root_child0_child2.getComputedHeight()).toBe(25);
25132513

@@ -2521,20 +2521,20 @@ test.skip('fit_content_min_height', () => {
25212521
expect(root_child0.getComputedLeft()).toBe(0);
25222522
expect(root_child0.getComputedTop()).toBe(0);
25232523
expect(root_child0.getComputedWidth()).toBe(50);
2524-
expect(root_child0.getComputedHeight()).toBe(175);
2524+
expect(root_child0.getComputedHeight()).toBe(100);
25252525

25262526
expect(root_child0_child0.getComputedLeft()).toBe(0);
25272527
expect(root_child0_child0.getComputedTop()).toBe(0);
25282528
expect(root_child0_child0.getComputedWidth()).toBe(50);
25292529
expect(root_child0_child0.getComputedHeight()).toBe(50);
25302530

2531-
expect(root_child0_child1.getComputedLeft()).toBe(0);
2532-
expect(root_child0_child1.getComputedTop()).toBe(50);
2531+
expect(root_child0_child1.getComputedLeft()).toBe(-50);
2532+
expect(root_child0_child1.getComputedTop()).toBe(0);
25332533
expect(root_child0_child1.getComputedWidth()).toBe(50);
25342534
expect(root_child0_child1.getComputedHeight()).toBe(100);
25352535

2536-
expect(root_child0_child2.getComputedLeft()).toBe(0);
2537-
expect(root_child0_child2.getComputedTop()).toBe(150);
2536+
expect(root_child0_child2.getComputedLeft()).toBe(-100);
2537+
expect(root_child0_child2.getComputedTop()).toBe(0);
25382538
expect(root_child0_child2.getComputedWidth()).toBe(50);
25392539
expect(root_child0_child2.getComputedHeight()).toBe(25);
25402540
} finally {

tests/generated/YGIntrinsicSizeTest.cpp

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*
77
* clang-format off
8-
* @generated SignedSource<<718c2ea7c24bad16412bbcda9182fc9f>>
8+
* @generated SignedSource<<2829dc62309945a6659caa578d8351c8>>
99
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGIntrinsicSizeTest.html
1010
*/
1111

@@ -2306,20 +2306,20 @@ TEST(YogaTest, max_content_min_height) {
23062306
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root));
23072307
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root));
23082308
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root));
2309-
ASSERT_FLOAT_EQ(175, YGNodeLayoutGetHeight(root));
2309+
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root));
23102310

23112311
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0));
23122312
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0));
23132313
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0));
23142314
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetHeight(root_child0));
23152315

2316-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child1));
2317-
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetTop(root_child1));
2316+
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetLeft(root_child1));
2317+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child1));
23182318
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child1));
23192319
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root_child1));
23202320

2321-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child2));
2322-
ASSERT_FLOAT_EQ(150, YGNodeLayoutGetTop(root_child2));
2321+
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetLeft(root_child2));
2322+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child2));
23232323
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child2));
23242324
ASSERT_FLOAT_EQ(25, YGNodeLayoutGetHeight(root_child2));
23252325

@@ -2328,20 +2328,20 @@ TEST(YogaTest, max_content_min_height) {
23282328
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root));
23292329
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root));
23302330
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root));
2331-
ASSERT_FLOAT_EQ(175, YGNodeLayoutGetHeight(root));
2331+
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root));
23322332

23332333
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0));
23342334
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0));
23352335
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0));
23362336
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetHeight(root_child0));
23372337

2338-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child1));
2339-
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetTop(root_child1));
2338+
ASSERT_FLOAT_EQ(-50, YGNodeLayoutGetLeft(root_child1));
2339+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child1));
23402340
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child1));
23412341
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root_child1));
23422342

2343-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child2));
2344-
ASSERT_FLOAT_EQ(150, YGNodeLayoutGetTop(root_child2));
2343+
ASSERT_FLOAT_EQ(-100, YGNodeLayoutGetLeft(root_child2));
2344+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child2));
23452345
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child2));
23462346
ASSERT_FLOAT_EQ(25, YGNodeLayoutGetHeight(root_child2));
23472347

@@ -2389,20 +2389,20 @@ TEST(YogaTest, fit_content_min_height) {
23892389
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0));
23902390
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0));
23912391
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0));
2392-
ASSERT_FLOAT_EQ(175, YGNodeLayoutGetHeight(root_child0));
2392+
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root_child0));
23932393

23942394
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0_child0));
23952395
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0_child0));
23962396
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0_child0));
23972397
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetHeight(root_child0_child0));
23982398

2399-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0_child1));
2400-
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetTop(root_child0_child1));
2399+
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetLeft(root_child0_child1));
2400+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0_child1));
24012401
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0_child1));
24022402
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root_child0_child1));
24032403

2404-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0_child2));
2405-
ASSERT_FLOAT_EQ(150, YGNodeLayoutGetTop(root_child0_child2));
2404+
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetLeft(root_child0_child2));
2405+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0_child2));
24062406
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0_child2));
24072407
ASSERT_FLOAT_EQ(25, YGNodeLayoutGetHeight(root_child0_child2));
24082408

@@ -2416,20 +2416,20 @@ TEST(YogaTest, fit_content_min_height) {
24162416
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0));
24172417
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0));
24182418
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0));
2419-
ASSERT_FLOAT_EQ(175, YGNodeLayoutGetHeight(root_child0));
2419+
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root_child0));
24202420

24212421
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0_child0));
24222422
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0_child0));
24232423
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0_child0));
24242424
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetHeight(root_child0_child0));
24252425

2426-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0_child1));
2427-
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetTop(root_child0_child1));
2426+
ASSERT_FLOAT_EQ(-50, YGNodeLayoutGetLeft(root_child0_child1));
2427+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0_child1));
24282428
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0_child1));
24292429
ASSERT_FLOAT_EQ(100, YGNodeLayoutGetHeight(root_child0_child1));
24302430

2431-
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetLeft(root_child0_child2));
2432-
ASSERT_FLOAT_EQ(150, YGNodeLayoutGetTop(root_child0_child2));
2431+
ASSERT_FLOAT_EQ(-100, YGNodeLayoutGetLeft(root_child0_child2));
2432+
ASSERT_FLOAT_EQ(0, YGNodeLayoutGetTop(root_child0_child2));
24332433
ASSERT_FLOAT_EQ(50, YGNodeLayoutGetWidth(root_child0_child2));
24342434
ASSERT_FLOAT_EQ(25, YGNodeLayoutGetHeight(root_child0_child2));
24352435

0 commit comments

Comments
 (0)