public IEnumerable <int> GetLotteryNumbers(int count, int startNumber, int endNumber) { return(LotteryHelper.GenerateLotteryNumbers(count, startNumber, endNumber)); }
public void OnNumberChange(object param) { LotteryNumbers = LotteryHelper.GenerateLotteryNumbers(6, 1, 49); }
public void GenerateLotteryNumbersTest() { var items = LotteryHelper.GenerateLotteryNumbers(6, 1, 49); Assert.AreEqual <int>(6, items.Count); }