Пример #1
0
 private void GetNumer0nData()
 {
     Input = string.Empty;
     InputNumberHistoryEntity.ClearCount();
     inputList.Clear();
     answerNumber = Numer0nService.GenerateRandomData();
 }
Пример #2
0
        public void InputNumberHistoryEntityTest03()
        {
            InputNumberHistoryEntity.ClearCount();
            var entity = new InputNumberHistoryEntity("9012", 0, 0);

            Assert.AreEqual(entity.Count, 1);
            Assert.AreEqual(entity.InputNumber, "9012");
            Assert.AreEqual(entity.PlaceNumberHit, 0);
            Assert.AreEqual(entity.NumberHit, 0);
        }