public void Font_GlobalFonts() { Mapnik.RegisterDefaultFonts(); Mapnik.RegisterSystemFonts(); IDictionary <string, string> files = Mapnik.FontFiles(); IEnumerable <string> fonts = Mapnik.Fonts(); Assert.IsTrue(fonts.Count() > 0); Assert.IsTrue(files.Count() > 0); CollectionAssert.AreEquivalent(files.Keys.ToList(), fonts.ToList()); // Registering system fonts should always fail on retry Assert.IsFalse(Mapnik.RegisterSystemFonts()); }