Git Product home page Git Product logo

bricks-wall's Introduction

Testing task

Table of Contents

Project purpose

Program verifies if wall of some configuration can be constructed from some set of bricks.

The format for input data is as follows:
1: width and height of wall's shape matrix - two positive integers W and H separated by space on their own line.
2: wall's shape matrix - H strings each of length W, formed just of '1' and '0' symbols with every string on its own line.
3: the count of bricks' sorts - the positive integer C.
4: list of bricks - C lines each containing three positive integers separated by space - width of brick, height of brick and count of such bricks in the set.

Example of source data:
6 3
101101
111111
111111
4
1 1 4
2 1 6
1 3 1
3 4 5


Project structure

  • java 11
  • maven 3.6.3
  • maven-checkstyle-plugin 3.1.1
  • lombok 1.18.12
  • junit 4.13

For developer

To run this project you need to install:

Add this project to your IDE as Maven project.

Add Java SDK in project structure.

Run the project (Main class).

Unit tests are located in folder src/test/java/com/ksv/service/impl

You can run tests in the terminal with the "mvn test" command.


Author

Serhii Kinashchuk

bricks-wall's People

Contributors

serg-ksv avatar

Watchers

 avatar  avatar

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.