public void FixedStringRuneWorks()
        {
            var rune = new Unicode.Rune(0xfbad);

            FixedStringN a = new FixedStringN(rune, 3);
            FixedStringN b = default;

            b.Append(rune);
            b.Append(rune, 2);
            Assert.AreEqual(a.ToString(), b.ToString());
        }
        void PutChar(ref int2 xy, Unicode.Rune rune, ColorIndex fg, ColorIndex bg)
        {
            Cell t = new Cell {
                rune = rune, fg = fg, bg = bg
            };

            PutChar(xy, t);
            ++xy.x;
            if (isWide(t.rune))
            {
                t.side = true;
                PutChar(xy, t);
                ++xy.x;
            }
        }