public void Ctor_Sets_MinimumValue_and_MaximumValue()
        {
            Tumbler tumbler = new Tumbler(MIN_VALUE, MAX_VALUE);

            Assert.AreEqual(MIN_VALUE, tumbler.MinimumValue, "MinimumValue not set");
            Assert.AreEqual(MAX_VALUE, tumbler.MaximumValue, "MaximumValue not set");
        }
 public void TestInitialize()
 {
     tumbler = new Tumbler(MIN_VALUE, MAX_VALUE);
 }
        public void Spin_Sets_CurrentValue_Randomly_EachCall()
        {
            var currentValues = new List<int>();

            //should see randomness at least by a 100 spins
            for(int i = 0; i < 500; i++)
            {
                tumbler = new Tumbler(MIN_VALUE, MAX_VALUE);
                tumbler.Spin();
                currentValues.Add(tumbler.CurrentValue);
            }

            Assert.IsFalse(currentValues.All<int>(x => x == MIN_VALUE), "Should see randomness at least by a 100 spins");
        }