public void errMsgOr0() { string response = "1^my error^is^not^your error"; Assert.AreEqual("my error", VistaUtils.errMsgOrZero(response)); response = "0^this should be^ok"; Assert.AreEqual("OK", VistaUtils.errMsgOrZero(response)); }
public void errMsgOr0_1Field() { string response = "no error code"; VistaUtils.errMsgOrZero(response); }