public void TestReadShortName() { var fieldSet = new DefaultFieldSet(new[] { "name" }, new[] { "32767" }); var read = fieldSet.ReadShort("name"); Assert.AreEqual(32767, read); }
public void TestReadShortIndex() { var fieldSet = new DefaultFieldSet(new[] { "32767" }); var read = fieldSet.ReadShort(0); Assert.AreEqual(32767, read); }