This demo demonstrate the use of KotUniL library in some web application developed with Kotlin and tests all available in library objects and functions.
KotUniL covers all units of International System of Units (SI)
like meter, second etc. (see Wikipedia)
as well as SI- Prefixes (micro, nano etc.) and some other common units like currencies, percentages etc.
You can learn about functions and objects of KotUniL library in central si-units/README.md. You can learn examples of using the library in TutorialTest.js. and other tests from directory javascript/tests.
NPM (Node Package Manager should be installed on your computer)
In tab Gradle double click on si-units->apps->web_app_js->other->npmInstall
Move to directory web_app_js.
Start command: npm i
You can start the application directly in your IDE (e.g. IntelliJ) by open in editor the file resources/index.html and by click on icon of your favorite browser please start it.
On success the application will show in browser the text:
Kotunil/JS Test Page
Test Statistics:
Number KotUniL's tested objects: 61
Number tests (checks): 1413
KotUniL is a multiplatform library. You can read about how to properly write physics and other formulas using the objects and functions of the KotUniL library in document "Rules for writing KotUniL formulas in different programming languages".