C++??????????unittest++???С??
???????????? ???????[ 2013/8/30 14:45:29 ] ????????
????????????????????д:
//test case 1
TEST(func_add)
{
int x = 3;
int y = 4;
CHECK_EQUAL(add(x??y)?? 7);
}
//test case 2
TEST(func_multi)
{
int a = 2;
int b = 5;
CHECK_EQUAL(multi(a??b)??10);
}
//test case 3
TEST(func_add2)
{
int x = 3;
int y = 4;
int sum = add(x??y);
CHECK(7 == sum);
}
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
iOS???????mocha??chai??sinon??istanbul???????????????????????????????????????д?????Java????????7??????Android?????????Robolectric3.0????(?)???Kiwi?????????????????????????????????Python?????????????????????????????????????Controller????????д?????????10???????????????????Angular????????????Component??Directive??Pipe ???ServiceAndroid????????????????????????????????--Mockito??????iOS UnitTest???????Vue?????????????????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44