コード例 #1
0
        public void TestGet()
        {
            var question = questionProvider.get();

            Assert.IsNotNull(question);
            Assert.IsNotNull(question.answer);
            Assert.IsNotNull(question.question);
        }
コード例 #2
0
        public void start()
        {
            var task = questionProvider.get();

            gameView.showQuestion(task);

            int count = task.answer.Length;

            string currentGuess = "";

            for (int i = 0; i < count; i++)
            {
                currentGuess = currentGuess + "*";
            }
        }