kpack18 / kpack18.github.io

CSE 442 Path Algorithm Visualizer
2 stars 0 forks source link

Convert grid to reflect data #45

Closed lieric4567 closed 5 years ago

lieric4567 commented 5 years ago

Creating a grid using the specified dimensions, storing that information so that it can be used later for algorithms and etc.

Acceptance test: 1) Resizes grid to match width x height entered into form after clicking apply. 2) Can interact with the grid change tile colors on mouse over and click. 3) Algorithm can be run on grid.

kpack18 commented 5 years ago

Test: test_Resize

Resizes the grid to multiple dimensions and check's that the dimensions of the class match the update. (Also tests that only valid dimensions can be added (no negatives, no letters etc..)