test_doc  0.1
 全部  文件 函数 变量 宏定义 
函数
Test_hikyuu_Datetime

函数

 BOOST_AUTO_TEST_CASE (test_Datetime)
 
 BOOST_AUTO_TEST_CASE (test_Datetime_related_operator)
 

详细描述

函数说明

BOOST_AUTO_TEST_CASE ( test_Datetime  )
检测点
  • 默认无参构造函数返回Null<Datetime>()
  • 从Null<unsigned long long>()构造
  • 从bd::date 隐式构造
  • 非法年份
  • 非法月份
  • 非法日期
  • 非法小时
  • 非法分钟
  • 属性读取
  • 正常日期转化为unsigned long long
  • Null<Datetime>()转化为number
  • 测试 toString

在文件 test_datetime.cpp27 行定义.

BOOST_AUTO_TEST_CASE ( test_Datetime_related_operator  )
检测点
  • 小于比较

在文件 test_datetime.cpp99 行定义.