Skip to content

Commit

Permalink
Updated conversions to be the same style. NEED TO RUN GenerateUnits.Bat
Browse files Browse the repository at this point in the history
  • Loading branch information
massonib committed Jul 7, 2016
1 parent 1459172 commit fc83586
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions UnitsNet/Scripts/UnitDefinitions/Density.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"SingularName": "KilogramPerCubicMillimeter",
"PluralName": "KilogramsPerCubicMillimeter",
"FromUnitToBaseFunc": "x*1e+9",
"FromUnitToBaseFunc": "x/1e-9",
"FromBaseToUnitFunc": "x*1e-9",
"Localization": [
{
Expand All @@ -19,7 +19,7 @@
{
"SingularName": "KilogramPerCubicCentimeter",
"PluralName": "KilogramsPerCubicCentimeter",
"FromUnitToBaseFunc": "x*1e+6",
"FromUnitToBaseFunc": "x/1e-6",
"FromBaseToUnitFunc": "x*1e-6",
"Localization": [
{
Expand Down Expand Up @@ -47,8 +47,8 @@
{
"SingularName": "PoundPerCubicInch",
"PluralName": "PoundsPerCubicInch",
"FromUnitToBaseFunc": "x*27679.904710191",
"FromBaseToUnitFunc": "x/27679.904710191",
"FromUnitToBaseFunc": "x/3.6127298147753e-5",
"FromBaseToUnitFunc": "x*3.6127298147753e-5",
"Prefixes": [ "Kilo" ],
"Localization": [
{
Expand All @@ -75,7 +75,7 @@
{
"SingularName": "TonnePerCubicMillimeter",
"PluralName": "TonnesPerCubicMillimeter",
"FromUnitToBaseFunc": "x*1e+12",
"FromUnitToBaseFunc": "x/1e-9",
"FromBaseToUnitFunc": "x*1e-12",
"Localization": [
{
Expand All @@ -87,7 +87,7 @@
{
"SingularName": "TonnePerCubicCentimeter",
"PluralName": "TonnesPerCubicCentimeter",
"FromUnitToBaseFunc": "x*1e+9",
"FromUnitToBaseFunc": "x/1e-9",
"FromBaseToUnitFunc": "x*1e-9",
"Localization": [
{
Expand All @@ -99,7 +99,7 @@
{
"SingularName": "TonnePerCubicMeter",
"PluralName": "TonnesPerCubicMeter",
"FromUnitToBaseFunc": "x*1000",
"FromUnitToBaseFunc": "x/0.001",
"FromBaseToUnitFunc": "x*0.001",
"Localization": [
{
Expand Down

6 comments on commit fc83586

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 127 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 127 outcome was FAILURE
Summary: Tests failed: 2 (2 new), passed: 729; artifacts size (bytes) is too small: 10953454 (new) Build time: 0:0:32

Failed tests

UnitsNet.Tests.dll: UnitsNet.Tests.CustomCode.DensityTests.DensityTestsBase.ConversionRoundTrip: <no details avaliable>

UnitsNet.Tests.dll: UnitsNet.Tests.CustomCode.DensityTests.DensityTestsBase.FromValueAndUnit: <no details avaliable>

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 128 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 129 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 128 outcome was SUCCESS
Summary: Tests passed: 815 Build time: 0:0:28

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: CI Build 129 outcome was FAILURE
Summary: Tests failed: 2 (2 new), passed: 729; artifacts size (bytes) is too small: 10953454 (new) Build time: 0:0:22

Failed tests

UnitsNet.Tests.dll: UnitsNet.Tests.CustomCode.DensityTests.DensityTestsBase.ConversionRoundTrip: <no details avaliable>

UnitsNet.Tests.dll: UnitsNet.Tests.CustomCode.DensityTests.DensityTestsBase.FromValueAndUnit: <no details avaliable>

Please sign in to comment.