Add YogaConfig unit tests

Summary:
- depends on #497
Closes https://github.com/facebook/yoga/pull/498

Reviewed By: emilsjolander

Differential Revision: D4796199

Pulled By: splhack

fbshipit-source-id: c63f23da11a719b36c0d49e954b29c0016cad8c7
This commit is contained in:
Kazuki Sakamoto
2017-04-10 14:22:24 -07:00
committed by Facebook Github Bot
parent 8a45ed9671
commit 3ea76f8a9b
3 changed files with 138 additions and 1 deletions

View File

@@ -301,7 +301,7 @@ namespace Facebook.Yoga
Assert.AreEqual(90.Pt(), node4.MaxHeight);
}
private void ForceGC()
public static void ForceGC()
{
GC.Collect(GC.MaxGeneration);
GC.WaitForPendingFinalizers();