public void AnalyseEwidValue_Stockwerk_mehrgeschoss() { // Given string value = @"160000643 009 5. Stock, mehrgeschoss. bestehend"; // Then AnalysePdfData apd = new AnalysePdfData(); List <string> result = apd.DivideEwidValuesToElements(value); // Assert Assert.AreEqual("160000643", result[0]); Assert.AreEqual("009", result[1]); Assert.AreEqual(string.Empty, result[2]); Assert.AreEqual(string.Empty, result[3]); Assert.AreEqual("5. Stock, mehrgeschoss.", result[4]); Assert.AreEqual(string.Empty, result[5]); Assert.AreEqual("bestehend", result[6]); }
public void AnalyseEwidValue_StockwerkMehrgeschossDGLage() { // Given string value = @"190009706 009 3. Stock, mehrgeschoss. 5 1/2 Zimmer 1. DG/2. DG bestehend"; // Then AnalysePdfData apd = new AnalysePdfData(); List <string> result = apd.DivideEwidValuesToElements(value); // Assert Assert.AreEqual("190009706", result[0]); Assert.AreEqual("009", result[1]); Assert.AreEqual(string.Empty, result[2]); Assert.AreEqual(string.Empty, result[3]); Assert.AreEqual("3. Stock, mehrgeschoss.", result[4]); Assert.AreEqual("5 1/2 Zimmer 1. DG/2. DG", result[5]); Assert.AreEqual("bestehend", result[6]); }
public void AnalyseEwidValue_ParterreLage() { // Given string value = @"302034483 003 3 Parterre Rechts bestehend"; // Then AnalysePdfData apd = new AnalysePdfData(); List <string> result = apd.DivideEwidValuesToElements(value); // Assert Assert.AreEqual("302034483", result[0]); Assert.AreEqual("003", result[1]); Assert.AreEqual("3", result[2]); Assert.AreEqual(string.Empty, result[3]); Assert.AreEqual("Parterre", result[4]); Assert.AreEqual("Rechts", result[5]); Assert.AreEqual("bestehend", result[6]); }
public void AnalyseEwidValue_ParterreMehrgeschoss_it() { // Given string value = @"11108578 001 _103000292 Pianterre., di più piani esistente"; // Then AnalysePdfData apd = new AnalysePdfData(); List <string> result = apd.DivideEwidValuesToElements(value); // Assert Assert.AreEqual("11108578", result[0]); Assert.AreEqual("001", result[1]); Assert.AreEqual("103000292", result[2]); Assert.AreEqual(string.Empty, result[3]); Assert.AreEqual("Pianterre., di più piani", result[4]); Assert.AreEqual(string.Empty, result[5]); Assert.AreEqual("esistente", result[6]); }
public void AnalyseEwidValue_ParterreMehrgeschoss_fr() { // Given string value = @"793635 001 REZ, sur plus. étages existant"; // Then AnalysePdfData apd = new AnalysePdfData(); List <string> result = apd.DivideEwidValuesToElements(value); // Assert Assert.AreEqual("793635", result[0]); Assert.AreEqual("001", result[1]); Assert.AreEqual(string.Empty, result[2]); Assert.AreEqual(string.Empty, result[3]); Assert.AreEqual("REZ, sur plus. étages", result[4]); Assert.AreEqual(string.Empty, result[5]); Assert.AreEqual("existant", result[6]); }
public void AnalyseEwidValue_Parterre() { // Given string value = @"1328932 001 Parterre, mehrgeschoss. bestehend"; // Then AnalysePdfData apd = new AnalysePdfData(); List <string> result = apd.DivideEwidValuesToElements(value); // Assert Assert.AreEqual("1328932", result[0]); Assert.AreEqual("001", result[1]); Assert.AreEqual(string.Empty, result[2]); Assert.AreEqual(string.Empty, result[3]); Assert.AreEqual("Parterre, mehrgeschoss.", result[4]); Assert.AreEqual(string.Empty, result[5]); Assert.AreEqual("bestehend", result[6]); }