/Known-Primes

A JavaScript unit testing that will assert known true primes

Primary LanguageJavaScriptMIT LicenseMIT

Testing for known true primes

This script was written in the course Software Testing. The task was to generate a list of integers and test for known primes.

I must warn that this script is not the best example of following standard naming conventions but I will blame it on being a student and not knowing better :-)

Run the script

Upload the assert.css, index.html and the prime_calc1s.js to a webserver or run it locally in your browser. You can also check it out here: https://popzi.github.io/Known-Primes/

Remember

  • This was a school assignment during my time studying IT-Security and Software testing - this is not guaranteed to work 100%.
  • Do not copy and use this in your school assignments, instead learn from it and improve it.
  • This will not be maintained by me, this is uploaded for safekeeping online.

License

MIT

Free Software, Hell Yeah!