예제 #1
0
        public void ShouldDecompressTwoTables()
        {
            MiniStorage db    = NewStorage();
            var         repos = db.ReadRepos();

            Assert.IsNotNull(db);
        }
예제 #2
0
        public void ShouldRestoreIngredients()
        {
            MiniStorage db          = NewStorage();
            var         ingredients = PlainTextReader.Split(db.ReadRepos()[0].Content, "\n")
                                      .DelimitBy(ColumnDelimiter.Tab)
                                      .GetAListOf <Ingredients>();

            Assert.AreEqual(3, ingredients.Count);
        }