Maven下Junit的使用

创建Maven项目 在pom.xml中添加引用包Junit <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> maven build 写代码 (以判断是否为闰年为例
相关文章
相关标签/搜索