gnome-recipes:unit_convert_test

Last commit made on 2017-07-12
Get this branch:
git clone -b unit_convert_test https://git.launchpad.net/gnome-recipes

Branch merges

Branch information

Name:
unit_convert_test
Repository:
lp:gnome-recipes

Recent commits

bd6ca28... by Matthias Clasen <email address hidden>

Add a skeleton for a conversion test

This test expects input in convert-data/*.in files, each
line in the form
AMOUNT UNIT
and will compare the output of human_readable() on with
the RESULT in the corresponding .expected file.

6679528... by Matthias Clasen <email address hidden>

Fix a compiler warning

6a9f2fe... by Pax

Added unit ID numbers, moved to switch-case instead of if-thens. human-readability function working for some units not others

8a4489e... by Pax

Added rough functionality for rounding, currently rounds to the nearest .5, will soon round to the nearest meaningful value for the unit.

a72db7d... by Pax

Cleaned up a lot of the unnecessary debug garbage, got numbers to display as fractions

2033f69... by Pax

all unit conversion and some human readability written and working

0a50834... by Pax

Got volume conversion working for those who prefer imperial

598e8c4... by Pax

got convert-temp working, need to work on scaling the display

5304691... by Pax

working on getting the double to display and scale properly

f0d597f... by Pax

Attempt at moving amount to double, unit failing