Commit Graph

44 Commits

Author SHA1 Message Date
Juhani Krekelä 1639748c68 Add support for US fluid ounces 2023-05-31 22:19:55 +03:00
Juhani Krekelä 1c3315d19d Add support for US cups 2023-05-31 22:10:49 +03:00
Juhani Krekelä 5555d0712e Add support for US liquid pints 2023-05-31 17:57:48 +03:00
Juhani Krekelä 6acd0d56a6 Add an additional way to spell imperial pint 2023-05-31 17:57:25 +03:00
Juhani Krekelä 6acd8b0e82 Add support for US liquid quarts 2023-05-31 17:57:09 +03:00
Juhani Krekelä 8a3002a8ad Add support for US gallons 2023-05-31 17:56:43 +03:00
Juhani Krekelä 9380d9059a Resort fluid volume units from smallest to largest for consistency 2023-05-31 17:55:40 +03:00
Juhani Krekelä bec9e494b5 Add suport for imperial fluid ounces 2023-05-30 20:34:38 +03:00
Juhani Krekelä f9975903aa Add support for imperial pints 2023-05-30 20:31:06 +03:00
Juhani Krekelä 8d50c9643a Add support for imperial quarts 2023-05-30 20:31:06 +03:00
Juhani Krekelä 9ef0c9655d Add support for imperial gallons 2023-05-30 20:31:06 +03:00
Juhani Krekelä 782e4a18a7 Add support for cubic feet 2023-05-29 22:40:03 +03:00
Juhani Krekelä 5a1d6850e3 Add support for cubic inches 2023-05-29 22:32:49 +03:00
Juhani Krekelä 5d8462c6e4 Add more ways to spell square mile 2023-05-29 22:05:08 +03:00
Juhani Krekelä 8060f79067 Add more ways to spell square feet 2023-05-29 22:03:08 +03:00
Juhani Krekelä e6ec05323f Add more ways to spell square inches 2023-05-29 21:58:29 +03:00
Juhani Krekelä c81ebb80df Add more ways to spell degrees Fahrenheit 2023-05-29 21:52:34 +03:00
Juhani Krekelä 5335e141a4 Allow units to contain nubers after a caret 2023-05-29 21:48:45 +03:00
Juhani Krekelä fbbafcd2ec Allow units to contain spaces 2023-05-29 21:43:02 +03:00
Juhani Krekelä 1842d480e1 Disallow several temperatures in input 2023-05-29 21:39:48 +03:00
Juhani Krekelä 1a493a1716 Fix spelling Celcius → Celsius 2023-05-29 21:37:56 +03:00
Juhani Krekelä 055ab32a99 Add support for square miles 2023-05-29 03:28:09 +03:00
Juhani Krekelä 7a7959c172 Add support for acres 2023-05-29 03:28:09 +03:00
Juhani Krekelä 85c5c9d66f Add support for square feet 2023-05-29 03:28:09 +03:00
Juhani Krekelä 7eb31b1b4b Add support for square inches 2023-05-29 03:28:09 +03:00
Juhani Krekelä d6441454fc Split format::test::units to per-unit tests 2023-05-29 02:54:27 +03:00
Juhani Krekelä ebff87c733 Remove extraneus comma in a match statement 2023-05-28 23:44:49 +03:00
Juhani Krekelä 46146ca712 Fix inconsistent newline before else if 2023-05-28 23:40:42 +03:00
Juhani Krekelä 88d143b8e6 Add CC0 license 2023-05-28 23:24:05 +03:00
Juhani Krekelä 81082fd11d Add support for degrees Fahrenheit 2023-05-28 20:32:31 +03:00
Juhani Krekelä b3fa9a01f1 Add conversion tests 2023-05-28 20:02:35 +03:00
Juhani Krekelä f8db69e3b2 Format numbers so that they are easier to read 2023-05-28 20:02:06 +03:00
Juhani Krekelä d77a84fef1 Use SI-prefixes that make sense for the given unit 2023-05-28 18:57:49 +03:00
Juhani Krekelä 3dee08d6d4 Change parse_number and parse_unit to return Results directly 2023-05-28 18:22:49 +03:00
Juhani Krekelä 54118ca879 Fix parsing of numbers with internal spaces 2023-05-28 18:10:18 +03:00
Juhani Krekelä 188df1fa5c Add test for negative number formatting 2023-05-14 04:41:39 +03:00
Juhani Krekelä 2b449c80f5 Implement user interface 2023-05-14 04:38:20 +03:00
Juhani Krekelä e915a3f689 Implement output formatting 2023-05-14 04:23:39 +03:00
Juhani Krekelä da620a04aa Implement most of application logic 2023-05-14 03:40:21 +03:00
Juhani Krekelä 7d82e46fd7 Implement parsing 2023-05-14 03:04:47 +03:00
Juhani Krekelä 034ffed997 Order units in order of size 2023-05-14 02:18:27 +03:00
Juhani Krekelä 7170ac3240 Reorder conversions.rs such that helpers are after primary functions 2023-05-14 02:18:09 +03:00
Juhani Krekelä c79584d807 Restate imperial lengths and weights in terms of inches and pounds 2023-05-13 20:29:34 +03:00
Juhani Krekelä 06083dbce9 First commit 2023-05-13 17:50:18 +03:00