Code cleanup

This commit is contained in:
HuskyTeufel
2021-08-04 15:21:09 +02:00
parent 136ae44e18
commit 34b2c92bb6
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace XMLParserTest
@@ -9,6 +11,11 @@ namespace XMLParserTest
public void TestMethod1()
{
XMLParser.XMLParser xml = new XMLParser.XMLParser("input.xml");
var d = xml.KanalObjekte.Select(x => x.Inspektionsdaten.OptischeInspektion.Inspektionsdatum).Distinct();
foreach(var s in d) {
var m = xml.KanalObjekte.FindAll(x => x.Inspektionsdaten.OptischeInspektion.Inspektionsdatum.Equals(s));
Debugger.Break();
}
}
}
}