Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            //Stress Test
            Person obj = new Person();

            Console.WriteLine("Insert your name: ");
            obj.Name = Console.ReadLine();
            Console.WriteLine("Insert your Heartbeats Per Minute: ");
            var tempBPM = Console.ReadLine();

            obj.NumberOfHeartBeatsPerMin = Convert.ToInt64(tempBPM);

            Stress objStress = new Stress();

            objStress.Stresslevel(obj);

            //Caffeine Test
            Console.WriteLine();
            Console.WriteLine();
            Caffeine Cobj = new Caffeine();

            Cobj.DrinkUp(500);
            Cobj.DrinkUp(160);
        }
Ejemplo n.º 2
0
 public void DrinkOneMore()
 {
     _uutCaffeine.DrinkUp(160);
     Assert.That(_receivedEventArgs, Is.Not.Null);
 }