Add test support for intrinsic sized nodes #1671

Closed
mlord93 wants to merge 1 commits from export-D58307002 into main

1 Commits

Author SHA1 Message Date
Maddie Lord
fc39c1725a Add test support for intrinsic sized nodes (#1671)
Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1671

This diff adds support for intrinsic sizing in generated tests. This is done by importing a testing font called "Ahem" which, as used, has an exact width and height of 10px for each character. Support has been added for C++, Java, and Javascript generated tests.

Reviewed By: NickGerleman

Differential Revision: D58307002
2024-06-26 08:50:39 -07:00