- Mastering Rust
- Rahul Sharma Vesa Kaihlavirta
- 55字
- 2021-07-02 13:35:24
Unit tests
In general, a unit test is a function that instantiates a small portion of an application and verifies its behavior independently from other parts of the code base. In Rust, unit tests are usually written within a module. Ideally, they should only aim to cover the module's functionality and its interfaces.
推薦閱讀
- Bootstrap Site Blueprints Volume II
- Django+Vue.js商城項目實戰
- AIRAndroid應用開發實戰
- DevOps Automation Cookbook
- Learning Laravel 4 Application Development
- Oracle 18c 必須掌握的新特性:管理與實戰
- 從零開始:UI圖標設計與制作(第3版)
- 深入解析Java編譯器:源碼剖析與實例詳解
- 寫給大家看的Midjourney設計書
- 物聯網系統架構設計與邊緣計算(原書第2版)
- C語言從入門到精通
- DB2SQL性能調優秘笈
- Visual Basic程序設計實驗指導及考試指南
- Arduino Electronics Blueprints
- Mastering Vim