Beispiel #1
0
        public void TestGetRecipesDictionaryFromJsonObject()
        {
            var recipes = RecipesJSON.ToRecipes();
            var keys    = RecipesJSON.Keys();

            foreach (var key in keys)
            {
                Assert.IsTrue(recipes.ContainsKey(key));
            }
        }
Beispiel #2
0
        public void TestGetRecipeDictionary()
        {
            var size = RecipesJSON.Keys().Count;

            Assert.AreEqual(Recipe.Recipes.Count, size);
        }