Espeer5 / Trinary

A ternary ALU simulation
https://espeer5.github.io/Trinary/
MIT License
2 stars 0 forks source link

add actions with basic testing framework to be expanded #2

Closed Espeer5 closed 1 year ago

Espeer5 commented 1 year ago

This commit adds the framework to do testing using NodeJS via Github actions whenever code is committed. This will eventually be used as a check before any merges are allowed. Currently, the test code run in the test.js file simply instantiates a CPU and checks a couple cases, but this will be greatly expanded. In order to accomplish this, all of the structure for a Node package was added, responsible for the large number of additions in this PR.

In the future, the actions workflow built here will need to be expanded to provide clearer commentary with better messages and to run all test cases, but this is simply an initial PR to put the structure in place.