Files
Terminal.Gui/Tests/UnitTestsParallelizable/FileServices/NerdFontsTests.cs
Tig fdeaa8331b Fixes #4298 - Updates test namespaces (#4299)
* Refactored test namespaces.
Moved some tests that were in wrong project.
Code cleanup

* Parrallel -> Parallel
2025-10-20 14:14:38 -06:00

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);
}
}
}