Add formatter and initial tests.

This commit is contained in:
Daniel Kraus
2015-07-13 23:57:35 +02:00
parent a847c1f8ba
commit e36fee52ad
25 changed files with 1038 additions and 17 deletions

View File

@ -37,11 +37,7 @@ namespace Tests.Importer.ZaaImporter
[Test]
public void ParseTimePoints()
{
Stream s = this.GetType().Assembly.GetManifestResourceStream("Tests.demo-output.txt");
StreamReader r = new StreamReader(s);
zaa.ZaaImporter importer = new zaa.ZaaImporter();
importer.Import(r.ReadToEnd());
zaa.ZaaImporter importer = TestHelpers.ZaaImporterFromResource();
// Only 6 distinct time points (see method documentation above).
Assert.AreEqual(6, importer.Laboratory.TimePoints.Count);
}