Add formatter and initial tests.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user