Ejemplo n.º 1
0
        public void CheckSendTest()
        {
            var          asks    = new[] { 16, 17, 18 };
            var          answers = new[] { 46, 48, 51 };
            const int    tid     = 6;
            const string user    = "";
            const string key     = "";
            var          result  = Controller.SendTest(tid, asks, answers, user, key);

            Assert.AreNotEqual(ResultContent.Error, result);
            Assert.AreEqual(0, result.MaxValue);
            Assert.AreEqual(tid, result.TestId);
            Assert.AreEqual(0, result.Value);
            Assert.AreEqual("", result.Description);
        }