public void OnPlatformFontConversion(bool useCompiledXaml) { ((MockPlatformServices)Device.PlatformServices).RuntimePlatform = Device.iOS; var layout = new Bz55343(useCompiledXaml); Assert.That(layout.label0.FontSize, Is.EqualTo(16d)); Assert.That(layout.label1.FontSize, Is.EqualTo(64d)); }
public void OnPlatformFontConversion(bool useCompiledXaml) { mockDeviceInfo.Platform = DevicePlatform.iOS; var layout = new Bz55343(useCompiledXaml); Assert.That(layout.label0.FontSize, Is.EqualTo(16d)); Assert.That(layout.label1.FontSize, Is.EqualTo(64d)); }