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.
23 lines
973 B
23 lines
973 B
using System;
|
|
using System.Collections.Generic;
|
|
using Modèle;
|
|
|
|
namespace test_requin
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
List<Zone> zones = new List<Zone> { Zone.ATLANTIQUE, Zone.PACIFIQUE };
|
|
Console.WriteLine("Test de la classe Requin!");
|
|
List<string> RandomFunFacts = new List<string> { "askip les requins c'est cool", "le requin mexicain possède un groin", "le requin scie est sympa comme tout il me coupe du bois l'hiver" };
|
|
Requin requin = new Requin("Bob", "leRequin", "Les requins c'est trop cool", "LaPhoto", "LaVidéo", "laPhoto", Conservation.EX, zones, "askip un requin c'est rigolo"); ;
|
|
Requin requin2 = new Requin("nom", "nomSci", "des", "photo", "video", "photoCarte", Conservation.CR, zones, RandomFunFacts);
|
|
foreach (Zone zone in requin2.Repartition)
|
|
{
|
|
Console.WriteLine(zone);
|
|
}
|
|
}
|
|
}
|
|
}
|