public void TestReadIntNameDefaultValue() { var fieldSet = new DefaultFieldSet(new[] { "name" }, new[] { " " }); var read = fieldSet.ReadInt("name", 3); Assert.AreEqual(3, read); }
public void TestReadIntName() { var fieldSet = new DefaultFieldSet(new[] { "name" }, new[] { "2147483647" }); var read = fieldSet.ReadInt("name"); Assert.AreEqual(2147483647, read); }
public void TestReadIntIndexDefaultValue() { var fieldSet = new DefaultFieldSet(new[] { " " }); var read = fieldSet.ReadInt(0, 3); Assert.AreEqual(3, read); }
public void TestReadIntIndex() { var fieldSet = new DefaultFieldSet(new[] { "2147483647" }); var read = fieldSet.ReadInt(0); Assert.AreEqual(2147483647, read); }