??в??????--???????????
???????????? ???????[ 2013/7/4 13:25:36 ] ????????
?????????isOutOfRange?????????????????ú????????????????д?????????????????????в?????????д???飬????д??????顣????????????????????????????????????printf????????????????????????????????????????????
?????????????????????5????????????д???????????????£?
????TestTriangle.cpp??
/*
* Copyright (c) 2008?? ?????(hutianfa@163.com)
*
* ??????????????
*
*/
#include "Triangle.h"
/*
* ????isOutOfRange?????????????????(0??1??5??199??200)
*
*/
void testIsOutOfRange_try()
{
if(isOutOfRange(0) == true)
{
printf("pass!
");
}
else
{
printf("fail!
");
}
if(isOutOfRange(1) == false)
{
printf("pass!
");
}
else
{
printf("fail!
");
}
}
void main()
{
testIsOutOfRange_try();
}
????С?????????????????????????main??????д???е???????????????main??????????????????????????????????????????????????????????????????????????????????????????test?????
????д??????????????????????????????????????????????????????????????????????????????????д???????????????????????????????????????????
??????????????????????cppUnit???????????????????????????????????????????????н?????????????????д???????cppUnit???????????
??????
???·???
??????????????????
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