You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SAE-2.01/MCTG/ConsoleApp/Program.cs

30 lines
681 B

// See https://aka.ms/new-console-template for more information
using ConsoleApp;
using Model;
Console.WriteLine("Hello, World!\n\n");
// TESTS:
Stub stub = new Stub();
PasswordManager passwordManager = new PasswordManager();
List<Recipe> recipes = stub.LoadRecipes();
List<RecipeCollection> recipeCollections = stub.LoadRecipeCollection();
foreach (Recipe r in recipes)
Console.WriteLine(r);
foreach (RecipeCollection r in recipeCollections)
Console.WriteLine(r);
List<User> users = stub.ConstrucList();
foreach (User u in users)
Console.WriteLine(u);
bool isPassCorrect = stub.VerifPass();
Console.WriteLine(isPassCorrect);