public void IsNotNumGlnTest() { var result = GLNValidator.IsValidGln("9099999A03131", false); Assert.AreEqual(GLNValidator.GLN_ErrorCode.NichtNumerisch, result); }
public void IsWrongPrzGlnTest() { var result = GLNValidator.IsValidGln("9099999303131", false); Assert.AreEqual(GLNValidator.GLN_ErrorCode.Prüfziffer, result); }
public void IsInvalidBundGlnTest() { var result = GLNValidator.IsValidGln("12345678901234", true); Assert.AreEqual(GLNValidator.GLN_ErrorCode.LängefalschBund, result); }
public void IsValidGlnTest() { var result = GLNValidator.IsValidGln("9099999303132", false); Assert.AreEqual(GLNValidator.GLN_ErrorCode.OK, result); }
public void IsInvalidGlnTest() { var result = GLNValidator.IsValidGln("123", false); Assert.AreEqual(GLNValidator.GLN_ErrorCode.Längefalsch, result); }