1. 首页
  2. 数据库
  3. 其它
  4. Nimble:Swift和Objective C的Matcher框架 源码

Nimble:Swift和Objective C的Matcher框架 源码

上传者: 2021-02-21 04:42:00上传 ZIP文件 205.82KB 热度 28次
敏捷 使用Nimble表示Swift或Objective-C表达式的预期结果。 受启发。 // Swift expect ( 1 + 1 ). to ( equal ( 2 )) expect ( 1.2 ). to ( beCloseTo ( 1.1 , within : 0.1 )) expect ( 3 ) > 2 expect ( " seahorse " ). to ( contain ( " sea " )) expect ([ " Atlantic " , " Pacific " ]). toNot ( contain ( " Mississippi " )) expect
下载地址
用户评论