Test
2009-01-06 23:41
78 查看
2009年1月6号晚23时:
Test:
1//以下代码纯为测试,无它用
2#include "Triangle.h"
3
4Triangle::Triangle(double x1,double y1,double z1,double x2,double y2,double z2,double x3,double y3,double z3)
5
19int Triangle::setdy()
20
39int Triangle::setymax()
40{
41 int max;
42 if(y1 >= y2&&y1 >= y3)
43 max = y1;
44 else if(y2 >=y1&&y2>=y3)
45 max = y2;
46 else if(y3>=y1&&y3>=y2)
47 max = y3;
48 return max;
49}
Test:
1//以下代码纯为测试,无它用
2#include "Triangle.h"
3
4Triangle::Triangle(double x1,double y1,double z1,double x2,double y2,double z2,double x3,double y3,double z3)
5
19int Triangle::setdy()
20
39int Triangle::setymax()
40{
41 int max;
42 if(y1 >= y2&&y1 >= y3)
43 max = y1;
44 else if(y2 >=y1&&y2>=y3)
45 max = y2;
46 else if(y3>=y1&&y3>=y2)
47 max = y3;
48 return max;
49}
相关文章推荐
- 在mysql中执行sql文件(如test.sql)的常用方法
- js正则函数match、exec、test、search、replace、split使用介绍集合
- testPrintSeq
- js正则函数match、exec、test、search、replace、split使用介绍集合
- TEST
- test
- Programmer Personality Test
- android test review
- 《QuickTest Professional Tutorial》读书笔记
- $("#test") 与 document.getElementById("test') 不一样 !
- TestDB.java
- play+angularjs+karma unit test(单元测试)
- TEST C#
- PoweMock集成Spring-test 测试静态方法 禁用字节码验证 -noverify -XX:-UseSplitVerifier
- Designing Test Cases--测试用例设计(英文)
- TestSuite很多skipped,报错Exception org.openqa.selenium.SessionNotCreatedException
- quote:Why do we write test cases?
- 训练集(train set) 验证集(validation set) 测试集(test set)
- Test Kernel with grub
- 在python3.X下修改了HTMLTestRunner.py