alexshishkin / testcurrency
A currency calculator just for test purpose.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/alexshishkin/testcurrency
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.1
This package is not auto-updated.
Last update: 2025-12-27 01:33:03 UTC
README
Test library for currency calculations.
The purpose of this simple code is only demonstration of my coding skill. And it's not completed yet.
Usage
$c = new Calculator('AED', 'USD');
$result = $c->convert(100);
ToDo
- add a mock object for convert request instead of comparision in the OpenExchangeLoader::getConvertValue()
- add more sources for exchange rates information.
- describe configuration of the calculator.
- do refactoring.
- add build and styles checks.
- write documentation