在as里进行单元测试

首先在build里面写

然后建立一个被测试类写方法

然后go to test

tast里写

错误

改成正确的

测试正确

原文地址:https://www.cnblogs.com/hudaochen/p/6582395.html