public unsafe void GetFontCacheLimitUpdatesAndReturnsPrevious() { var limit = SKGraphics.GetFontCacheLimit(); Assert.NotEqual(0, limit); var oldLimit = SKGraphics.SetFontCacheLimit(limit + 1); Assert.Equal(limit, oldLimit); var newLimit = SKGraphics.SetFontCacheLimit(limit); Assert.Equal(limit + 1, newLimit); }
public unsafe void GetFontCacheLimitIsNotZero() { var limit = SKGraphics.GetFontCacheLimit(); Assert.NotEqual(0, limit); }