项目作者: atecon

项目描述 :
Provide several assert methods to check for and report failures using gretl
高级语言: Python
项目地址: git://github.com/atecon/assertion.git
创建时间: 2019-12-22T22:48:17Z
项目社区:https://github.com/atecon/assertion

开源协议:MIT License

下载


The “assertion” package

Build Status

Collection of assert-functions for writing (unit-)test cases and to detect test failure. Assert is a method useful in determining Pass or Fail status of a test case.

Please ask questions and report bugs on the gretl mailing list if possible — otherwise here on github.com.

Currently, the most standard methods are supported:

1) assert_equal_num()
2) assert_not_equal_num()
3) assert_greater_equal_num()
4) assert_less_equal_num()
5) assert_almost_equal_num()
6) assert_not_almost_equal_num()
7) assert_equal_str()
8) assert_not_equal_str()
9) assert_true()
10) assert_is_type()
11) assert_is_not_type()

For details see the help file.

Install and load the package

  1. pkg install assertion
  2. include assertion.gfn