public void IsBinVersEqual_Test_Incompatible() { string str = "<\ra\ndomDa\ta>\0"; CMdlFileNavigator obj = Setup(str); Assert.IsFalse(obj.IsBinVersEqual(1)); }
public void IsBinVersEqual_Test_Empty() { string str = ""; CMdlFileNavigator obj = Setup(str); Assert.IsFalse(obj.IsBinVersEqual(1)); }
public void IsBinVersEqual_Test_Unsupported() { string str = "BINVRSN{\r\n 2\r\n}\r\n"; CMdlFileNavigator obj = Setup(str); Assert.IsFalse(obj.IsBinVersEqual(1)); }
public void IsBinVersEqual_Test_Positive() { string str = "BINVRSN{\t 99 \t\r\n<optionalIndent>}\r\n"; CMdlFileNavigator obj = Setup(str); Assert.IsTrue(obj.IsBinVersEqual(99)); }
public void HasMore_Test_Negative() { string str = "BINVRSN{\r\n 1\r\n}\r\n"; CMdlFileNavigator obj = Setup(str); obj.IsBinVersEqual(1); Assert.IsFalse(obj.HasMore()); }
public void HasMore_Test_Positive() { string str = "BINVRSN{\r\n 1\r\n}\r\nFRMERootNode"; CMdlFileNavigator obj = Setup(str); obj.IsBinVersEqual(1); Assert.IsTrue(obj.HasMore()); }