Git Product home page Git Product logo

2018-03-22-08-27-48-1521707268's Introduction

Java编程基础

练习描述

  1. 两个集合比较筛选 - 其中包含3个小练习
  2. 单个集合内各种元素统计 - 其中包含3个小练习
  3. 两个集合比较+筛选+统计 - 其中包含4个小练习
  • 练习需求描述在代码库的src/test(测试目录)下的section1, section2, section3中的测试代码中有文字说明

环境描述

  • java8
  • Intellij-IDEA

如何开始

  • 在命令行中使用以下命令在用户本地任意目录下clone此题目库
git clone repo_of_this_template
  • 运行所有测试:克隆下来代码后,我们使用cd命令进入到项目目录下,运行下面的命令
./gradlew test
  • 此时所有测试都是失败的
  • 开始在指定的位置完成题目

输出规范

  • 仔细阅读代码库的src/test(测试目录)下的section1, section2, section3中的测试代码中文字说明
  • 将题目实现在src/main目录下的section1, section2, section3的对应practice中即可
    • 举个例子:src/test/section1/PracticeATest.java中的测试实现需要写在src/main/section1/PracticeA.java中。
  • 完成所有题目后,项目根目录下运行./gradlew test,出现BUILD SUCCESSFUL字样即完成。

题目要求

  • 通过所有测试用例
  • 不能使用正则表达式
  • 代码通过小步提交,并且每次提交的描述都要有意义
  • 使用快捷键编码

2018-03-22-08-27-48-1521707268's People

Contributors

recruiting-system avatar

Watchers

 avatar

2018-03-22-08-27-48-1521707268's Issues

Assertive parameters are misordered

It seems that the passing order of the "expected" and "actual" parameter are inconsistent with the JUnit API specified for all 10 cases... Any points for writing in such a way?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.