Esempio n. 1
0
        public void CheckPut()
        {
            //* First create a random number between 0 and 1000 *\\
            //* Second take the static conter value *\\
            //* Third check if put method by random is equal to counter + random *\\
            Random r = new Random(); var i = r.Next(0, 1000);
            var    counter = CounterController.Globals.Counter;

            Assert.That(ct.Put(i), Is.EqualTo((counter + i).ToString()));
        }