public void WideFileTest() { var wideStream = StreamFormat.CreateFromFile("wide.json"); Assert.NotNull(wideStream); Assert.True(wideStream is StreamFormat); }
public void NarrowFileTest() { var narrowStream = StreamFormat.CreateFromFile("narrow.json"); Assert.NotNull(narrowStream); Assert.True(narrowStream is NarrowFormat); }
public void WideBatchFileTest() { var batchStream = StreamFormat.CreateFromFile("wide_batch.json"); Assert.NotNull(batchStream); Assert.True(batchStream is BatchFormat); }
public void NarrowBatchFileTest() { var batchStream = StreamFormat.CreateFromFile("narrow_batch.json"); Assert.NotNull(batchStream); Assert.True(batchStream is NarrowBatchFormat); }
public void BadFileTest() { Assert.Throws <ArgumentException>(() => StreamFormat.CreateFromFile("missing_entity.json")); }