Asp.net????????????????????????
???????????? ???????[ 2014/12/22 16:11:00 ] ??????????????? ??????? ASP
??????????????????LogonInfo
????????????????????????д???GetMaxTest()????
/// <summary>
///GetMax ?????
///</summary>
[TestMethod()]
public void GetMaxTest()
{
LogonInfo target = new LogonInfo();
int[] aryNum = new int[] { 1?? 3?? 4 }; // ?????aryNum?????????
int expected = 4; // ??????????GetMax??????????????????????GetMax?????????????????????????4
int actual;
actual = target.GetMax(aryNum);
Assert.AreEqual(expected?? actual); //?????ж?expected??actual?????????????????ж???????????????
//Assert.Inconclusive("???????????????????");
}
???????Assert.AreEqual(expected?? actual)????д???Assert.AreEqua?????expected??actual????????????????????????????????????????ж???????????????????
????Assert.AreEqual() ??????????????????????????????????
????Assert.Inconclusive() ??????δ?????????
????Assert.IsTrue() ?????????????????True??????True????????????
????Assert.IsFalse() ?????????????????False??????False????????????
????Assert.IsNull() ????????????????????????????????????????
????Assert.IsNotNull() ???????????????????????????????????????
?????????д?????????vs??????"????"->"????"->"???????"?????????????????????????
???????????????????г????????????????????????????????GetMaxTest???????棬??????????"???????????"??????????????????????????"??????"??????У????????
????????????????????????????????????????????????????????????GetMaxTest()?е??????????????????в????????????????
????????????
??????????????????????в??????????????????????е????Χ?????????????????????????á?????????????????????????е???????????????????????????磬?????????У?????????????80%??90%???????????????ú??д??????????
??????????β??????????????????????????Solution Items?μ?LocalTestRun.testrunconfig?????????????????????????????????????????????????
???????в?????????????vs??????"????"->"????"->"??????????"???????????????????????????????????????
????????????????????
???????г?????????????????????????????????У????????????????????????????????????"????"->"???"->"????????"??????塣
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11