test_doc
函数
test_indicator_Indicator

函数

 BOOST_AUTO_TEST_CASE (test_operator_add)
 
 BOOST_AUTO_TEST_CASE (test_operator_reduce)
 
 BOOST_AUTO_TEST_CASE (test_operator_multi)
 
 BOOST_AUTO_TEST_CASE (test_operator_division)
 
 BOOST_AUTO_TEST_CASE (test_operator_eq)
 
 BOOST_AUTO_TEST_CASE (test_operator_ne)
 
 BOOST_AUTO_TEST_CASE (test_operator_gt)
 
 BOOST_AUTO_TEST_CASE (test_operator_ge)
 
 BOOST_AUTO_TEST_CASE (test_operator_lt)
 
 BOOST_AUTO_TEST_CASE (test_operator_le)
 
 BOOST_AUTO_TEST_CASE (test_getResult_getResultAsPriceList)
 

详细描述

函数说明

BOOST_AUTO_TEST_CASE ( test_operator_add  )
检测点
  • 正常相加
  • 两个待加的ind的size不同
  • 两个待加的ind的size相同,但result_number不同

在文件 test_Indicator.cpp29 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_reduce  )
检测点
  • 正常相减
  • 两个待减的ind的size不同
  • 两个待减的ind的size相同,但result_number不同

在文件 test_Indicator.cpp69 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_multi  )
检测点
  • 正常相乘
  • 两个待乘的ind的size不同
  • 两个待乘的ind的size相同,但result_number不同

在文件 test_Indicator.cpp109 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_division  )
检测点
  • 正常相除
  • 两个待除的ind的size不同
  • 两个待除的ind的size相同,但result_number不同

在文件 test_Indicator.cpp149 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_eq  )
检测点
  • 正常相等
  • 两个ind的size不同
  • 两个ind的size相同,但result_number不同

在文件 test_Indicator.cpp196 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_ne  )
检测点
  • 正常不相等
  • 两个ind的size不同
  • 两个ind的size相同,但result_number不同

在文件 test_Indicator.cpp235 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_gt  )
检测点
  • ind1 > ind2
  • ind1 < ind2
  • ind1 == ind2
  • 两个ind的size不同
  • 两个ind的size相同,但result_number不同

在文件 test_Indicator.cpp274 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_ge  )
检测点
  • ind1 > ind2
  • ind1 < ind2
  • ind1 == ind2
  • 两个ind的size不同
  • 两个ind的size相同,但result_number不同

在文件 test_Indicator.cpp328 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_lt  )
检测点
  • ind1 > ind2
  • ind1 < ind2
  • ind1 == ind2
  • 两个ind的size不同
  • 两个ind的size相同,但result_number不同

在文件 test_Indicator.cpp382 行定义.

BOOST_AUTO_TEST_CASE ( test_operator_le  )
检测点
  • ind1 > ind2
  • ind1 < ind2
  • ind1 == ind2
  • 两个ind的size不同
  • 两个ind的size相同,但result_number不同

在文件 test_Indicator.cpp436 行定义.

BOOST_AUTO_TEST_CASE ( test_getResult_getResultAsPriceList  )
检测点
  • 源数据为空
  • result_num参数非法
  • 正常获取

在文件 test_Indicator.cpp491 行定义.