public void Hfp_ReadString_TrailingZeros() { var bytes = hm.MakeImageReader("a"); var parser = new HunkFileParser(bytes); Assert.AreEqual("a", parser.ReadString()); }
public void Hfp_ReadString_ZeroLength() { var bytes = hm.MakeImageReader(0); var parser = new HunkFileParser( bytes); Assert.AreEqual("", parser.ReadString()); }