Testability_1 源码
公共类Main {公共静态void main(String [] args){BmiService服务=新的BmiService(); 浮点索引= service.calculate(86.5f,1.780f); 浮点索引1 = service.calculate(90,1.70f); 浮点索引2 = service.calculate(88.2f,1.780f); 浮点索引3 = service.calculate(45.4f,1.680f); 浮点索引4 = service.calculate(56.2f,1.780f); 浮点索引5 = service.calculate(100,1.780f); System.out.println(index); System.out.println(index1); System.out.println(index2);
用户评论