schmoller / hitori Goto Github PK
View Code? Open in Web Editor NEWHitori Game/Solver/Generator
Hitori Game/Solver/Generator
Make sure each field is filled out before submitting.
The severity rating should be one of: Trivial, Minor, Major, Critical
Description | The board class can be created using the Board.from() method. There is no precondition checking on this method and due to its design, it will produce values that can be passed safely through the Board constructor without causing problems. If trying to use the Board later though, almost all methods will cause an exception. However since in normal operation this does not currently happen, this issue is of minor importance. |
Operating system | Linux Mint 17.1 |
Java version | 1.8.0_60 |
Severity | Minor |
Steps to reproduce (or link to test case) | Call Board.from(9, 9, new int[] {1}) then call Board.getBoardState() |
Expected result | The inputs should be rejected due to not containing enough information to build a board |
Actual result | The board is created and a NullPointerException is thrown when attempting to get the board state |
Make sure each field is filled out before submitting.
The severity rating should be one of: Trivial, Minor, Major, Critical
Description | getCol() and getRow() have no precondition checking on the column or row index |
Operating system | Linux Mint 17.1 |
Java version | 1.8.0_60 |
Severity | Minor |
Steps to reproduce (or link to test case) | call TabledSet.getCol(-1) or TabledSet.getRow(-1) |
Expected result | The input is rejected as invalid |
Actual result | Lists are returned that will error if anything is called on them |
Make sure each field is filled out before submitting.
The severity rating should be one of: Trivial, Minor, Major, Critical
Description | Clicking Solve and then a number on the board can sometimes unshade multiple numbers. This is an intermittent bug, but very reproducible |
Operating system | Windows 10 |
Java version | 1.8.0_131 |
Severity | Major |
Steps to reproduce (or link to test case) | Forked Repo is an Eye Automate test which highlights the problem. To manually reproduce
|
Expected result | After clicking Solve, clicking a number on the board should change the cell shading for that number to Marked |
Actual result | Intermittently, clicking a number on the board after clicking solve will unshade multiple numbers, not just the one you have clicked on |
Make sure each field is filled out before submitting.
The severity rating should be one of: Trivial, Minor, Major, Critical
Description | Clicking Solve and then Generate leaves the solved state text as "Solved" |
Operating system | Windows 10 |
Java version | 1.8.0_131 |
Severity | Minor |
Steps to reproduce (or link to test case) | Forked Repo is an Eye Automate test which highlights the problem. To manually reproduce
|
Expected result | Once a board has been solved and a new one Generated, the state text should be updated to say "Incomplete" or something else along those lines |
Actual result | Once a board has been solved and a new one Generated, the state text does not change and remains as "Solved" |
Make sure each field is filled out before submitting.
The severity rating should be one of: Trivial, Minor, Major, Critical
Description | In the GUI, clicking the Step button does not always shade a cell |
Operating system | Windows 10 |
Java version | 1.8.0_131 |
Severity | Minor |
Steps to reproduce (or link to test case) | Forked repo illustrates this failure. To manually see it
|
Expected result | A cell should be shaded either black to indicate a selected cell, or pink or grey to indicate that it is still confirming a solution |
Actual result | No cell shading is done for the first click of Step |
Make sure each field is filled out before submitting.
The severity rating should be one of: Trivial, Minor, Major, Critical
Description | Board instances can be constructed with 0 size |
Operating system | Linux Mint 17.1 |
Java version | 1.8.0_60 |
Severity | Trivial |
Steps to reproduce (or link to test case) | Call new Board(0,0, new BoardNumber[0]) |
Expected result | The input is rejected as invalid |
Actual result | The board is created successfully leading to problems using it |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.