コード例 #1
0
        public void Caculate_Type_Indefined()
        {
            _starCorpProjectApplication = new StarCorpProjectApplication();
            var ret = _starCorpProjectApplication.Calculate(121);

            Assert.AreEqual(ret, "Type Indefined");
        }
コード例 #2
0
        public void Caculate_Multiple_3_5()
        {
            _starCorpProjectApplication = new StarCorpProjectApplication();
            var ret = _starCorpProjectApplication.Calculate(15);

            Assert.AreEqual(ret, "StarCorpianos");
        }
コード例 #3
0
 public ActionResult <string> Get(int Number)
 {
     return(_starCorpProjectApplication.Calculate(Number));
 }