mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
* Refactored test namespaces. Moved some tests that were in wrong project. Code cleanup * Parrallel -> Parallel
27 lines
595 B
C#
27 lines
595 B
C#
namespace UnitTests_Parallelizable.FileServicesTests;
|
|
|
|
public class NerdFontTests
|
|
{
|
|
[Fact]
|
|
public void TestAllExtensionsMapToKnownGlyphs ()
|
|
{
|
|
var f = new NerdFonts ();
|
|
|
|
foreach (KeyValuePair<string, string> k in f.ExtensionToIcon)
|
|
{
|
|
Assert.Contains (k.Value, f.Glyphs.Keys);
|
|
}
|
|
}
|
|
|
|
[Fact]
|
|
public void TestAllFilenamesMapToKnownGlyphs ()
|
|
{
|
|
var f = new NerdFonts ();
|
|
|
|
foreach (KeyValuePair<string, string> k in f.FilenameToIcon)
|
|
{
|
|
Assert.Contains (k.Value, f.Glyphs.Keys);
|
|
}
|
|
}
|
|
}
|