Ejemplo n.º 1
0
        public void CanAddSystemFonts()
        {
            var collection = new FontCollection();

            Assert.False(collection.Families.Any());

            collection.AddSystemFonts();

            Assert.True(collection.Families.Any());
            Assert.Equal(collection.Families.Count(), SystemFonts.Families.Count());
        }