bitmap-editor v1.0.1
Instructions
For the specifications and how to clone and install it on your local machine please go to Instructions. Scroll down to the steps and follow those instructions.
For the Criteria also go to that link and scroll down to the criteria.
Information
Jasmine was used for the test framework
There are three different spec files that rigirously test the criteria Bitmap.spec, Fill.spec, Image.spec.
The criteria has been seperated into 3 different classes and a dictionary across 4 different files bitmap-editor, Fill, Image and Color_codes. These pass all the current tests in the spec but please have a go at creating your own within the source file. Feel free to change the spec tests or the source code as your see fit
How to Test
Just run npm test or npx jasmine in the CLI or if you only want a particular test or set of tests put f before describe or it.
How to create your own Image
To create your own image run node index.js in your CLI.
How to install as your own library
Please follow the link and follow the instructions. To run and create your own bitmap run node node_modules/bitmap-editor/index.js in your terminal