Add formatter and initial tests.
This commit is contained in:
1 parent
a847c1f8ba
commit
e36fee52ad
25 files changed
+1038
-17
No files matched your search
@@ -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