Simple number factory written and tested in various languages.
The table below shows the languages currently used.
Language | Tested With | Additional Tools | Complete? |
---|---|---|---|
C | NO | ||
C# | xUnit | Moq Shouldly |
YES |
C++ | Catch2 | CMake g++ |
NO |
Elixir | NO | ||
go | testing | stretchr/testify/assert golint gomock |
YES |
Groovy | Spock | maven | YES |
Java | Junit | Mockito gradle |
YES |
Lisp | NO | ||
Node.JS | Jest | npm eslint |
YES |
Objective-C | NO | ||
PHP | PHPUnit | composer | YES |
Python | unittest | pycodestyle pyrg mock |
YES |
Ruby | rspec | rubocop simplecov |
YES |
Rust | Rust built in 'libtest' | Cargo Clippy mockall |
YES |
Smalltalk | NO | ||
TypeScript | ts-jest | npm eslint (typescript plugin) |
YES |
Simple user stories have been outlined to outline design of project and the tested criteria;
As a User,
So I can determine difficult addition,
I can pass two arguments which are added and int result is returned
As a User,
So I can determine difficult subtraction,
I can pass two arguments which are subtracted and int result is returned
As a User,
So I can determine difficult multiplication,
I can pass two arguments which are multiplied and int result is returned
As a User,
So I can determine difficult division,
I can pass two arguments which are divided and float result is returned
As a User,
So I can determine difficult squares,
I can pass an int argument which is squared and the int result is returned
As a User,
So I can sum multiple integers,
I can pass an array of integers which is summed and the int result is returned
As a User,
So I can enjoy RNG,
I can call a function/method to generate a random int from 0 - 100 and return it