public void LoadFormat0() { var writer = new BigEndianBinaryWriter(); writer.WriteCMapTable(new[] { new Format0SubTable(0, PlatformIDs.Windows, 9, new byte[] { 0, 1, 2 }) }); var table = CMapTable.Load(writer.GetReader()); Assert.Single(table.Tables.Where(x => x != null)); Format0SubTable[] format0Tables = table.Tables.OfType <Format0SubTable>().ToArray(); Assert.Single(format0Tables); }