Swift 和 Objective-C 适配器框架 Nimble

码农软件 · 软件分类 · 常用工具包 · 2019-08-16 10:29:46

软件介绍

Nimble 是用于 Swift 和 Object-C 的匹配器框架,它可以用来表达 Swift 和 Object-C 表达式预期的结果,其灵感来自于 Cedar

示例代码:

// Swift
expect(1 + 1).to(equal(2))
expect(1.2).to(beCloseTo(1.1, within: 0.1))
expect(3) > 2expect("seahorse").to(contain("sea"))
expect(["Atlantic", "Pacific"]).toNot(contain("Mississippi"))
expect(ocean.isClean).toEventually(beTruthy())

本文地址:https://codercto.com/soft/d/12478.html

Head First Python

Head First Python

Paul Barry / O'Reilly Media / 2010-11-30 / USD 49.99

Are you keen to add Python to your programming skills? Learn quickly and have some fun at the same time with Head First Python. This book takes you beyond typical how-to manuals with engaging images, ......一起来看看 《Head First Python》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试