summaryrefslogtreecommitdiff
path: root/src/test/java/sevenUnits/unit/UnitDatabaseTest.java
AgeCommit message (Collapse)Author
2025-04-30Add more UnitDatabase testsAdrien Hopkins
2024-08-22Show unit/dim file errors as popupAdrien Hopkins
Previously, any error in the unit or dimension file(s) crashes the program. Instead, 7Units now ignores any invalid lines, still parsing the correct ones, and shows a popup in case any errors happen.
2024-03-24Format source code & set explicit UTF-8Adrien Hopkins
2022-04-18Implemented one-way conversion, duplicate prefixes can now be hiddenAdrien Hopkins
2022-02-26Implemented unit conversion, with a few problemsAdrien Hopkins
TabbedView now displays its units, but with their toString method which shows their definition in addition to their name
2021-11-04Added a bunch of tests related to unit valuesAdrien Hopkins
2021-11-02Added a test for UnitDatabase.isRemovableDuplicateAdrien Hopkins
2021-10-07Added tests for getUnit and the prefixed unit mapAdrien Hopkins
Also fixed a bug where a prefixed unit map with units but no prefixes would appear empty
2021-10-04Added tests for valid & invalid dimension filesAdrien Hopkins
2021-09-27Added a test for evaluating an expression & fixed a bug it foundAdrien Hopkins
The bug: non-exact LinearUnitValue instances have their value printed as "(", i.e. "(5.0 ± 0.1) m" will be printed as "( m"
2021-09-27Added some tests for invalid unitfilesAdrien Hopkins
2021-09-22Added a test to test loading unitfilesAdrien Hopkins
2021-08-26Added units and dimensions to the design documentAdrien Hopkins
2021-06-28Renamed project to 7UnitsAdrien Hopkins