官术网_书友最值得收藏!

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. 

主站蜘蛛池模板: 老河口市| 新巴尔虎右旗| 江山市| 若羌县| 西乌珠穆沁旗| 温宿县| 定安县| 芒康县| 荣昌县| 丹阳市| 罗江县| 南和县| 光山县| 牙克石市| 玛纳斯县| 绥化市| 瑞丽市| 壶关县| 竹山县| 年辖:市辖区| 阳谷县| 卢龙县| 汽车| 昌邑市| 鄯善县| 常州市| 明水县| 平陆县| 鄂伦春自治旗| 嘉定区| 汤原县| 阿勒泰市| 灵武市| 汉川市| 丹东市| 三都| 霸州市| 翁牛特旗| 镇远县| 田东县| 宜都市|