-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: AmountOfSubstance #304
Feature: AmountOfSubstance #304
Conversation
We built successfully in our fork, don't know why it didn't build in AppVeyor. I'm going to investigate this issue as soon as possible. |
Any ideas how to deal with this error?
Because of this I can't load all the tests. 1024 of them runs successfully though. |
Installing DotNetCore.1.0.5_1.1.2-WindowsHosting solved the problem. |
Not sure why the build server doesn't like this, the changes look good to me. I'll investigate a bit. My only feedback here is as mentioned in issue:
|
Ok, figured it out. You need to merge in latest You also need to delete/move your file in the Make sure you merge in the master from angularsen repo, and not your own fork's master. |
PoundPerMole is implemented in the other pull request. We don't use it in our project at the moment but I guess it can be useful for us or someone else later on. What do you prefer? To have it or not to have it? I'm okay with both SubstanceAmount and AmountOfSubstance. Reason I chose SubstanceAmount is source-code readability. As soon as you let me know your decision, I'll proceed. |
Oh @angularsen , did you mean |
Ah, yes PoundMole. I think it's good to add for consistency and completeness. |
Also, let's go with AmountOfSubstance then if you agree that also works well. |
changed SubstanceAmount.json to AmountOfSubstance.json and executed generate-code.bat
I think it's ready. Can you please review? |
Perfect! Looks good. |
Squashed commit of the following: commit 6e23232 Author: Andreas Gullberg Larsen <[email protected]> Date: Sat Nov 11 12:33:12 2017 +0100 Fix headers Wrong year and use (c) instead of copyright symbol since git and powershell frequently messes up the encoding when using it. commit c102e3e Author: Andreas Gullberg Larsen <[email protected]> Date: Sat Nov 11 12:25:18 2017 +0100 Regenerate code from PRs commit c1f83dd Author: Ferit Tunçer <[email protected]> Date: Sat Nov 11 13:55:29 2017 +0300 Add quantity Entropy (#312) commit 90d5f93 Author: Ferit Tunçer <[email protected]> Date: Sat Nov 11 13:43:12 2017 +0300 Fix LapseRate Units (#321) commit c94c1d2 Author: Ferit Tunçer <[email protected]> Date: Fri Nov 10 20:43:44 2017 +0300 Delete duplicate quantity SubstanceAmount (#317) commit 471d2fc Author: Andreas Gullberg Larsen <[email protected]> Date: Thu Nov 9 21:25:20 2017 +0100 Add Equals(T other, T maxError), obsolete Equals(T other) for Double quantities Equality comparison is not safe with System.Double as internal representation. Decimal quantities (Power, Information) still allow equality. Add test on new Equals() method. commit e0eb3f0 Author: Andreas Gullberg Larsen <[email protected]> Date: Thu Nov 9 19:57:32 2017 +0100 UnitsNet: 3.78.0 commit 041a53e Author: Ferit Tunçer <[email protected]> Date: Thu Nov 9 21:54:51 2017 +0300 Add quantity LapseRate (#316) commit 8a4d648 Author: Andreas Gullberg Larsen <[email protected]> Date: Tue Nov 7 15:34:47 2017 +0100 Fix email address commit aa9a99a Author: Ferit Tunçer <[email protected]> Date: Tue Nov 7 23:43:11 2017 +0300 Add micropascalseconds (#314) commit 0a585b8 Author: Ferit Tunçer <[email protected]> Date: Tue Nov 7 17:45:26 2017 +0300 Add MolarEntropy (#310) commit e51cd52 Author: Ferit Tunçer <[email protected]> Date: Tue Nov 7 17:04:30 2017 +0300 Add MolarEnergy (#309) commit 1fad2bb Author: Ferit Tunçer <[email protected]> Date: Tue Nov 7 17:02:05 2017 +0300 Add AmountOfSubstance (#304) commit 6800561 Author: Ferit Tunçer <[email protected]> Date: Tue Nov 7 08:53:13 2017 +0300 Add MolarMass Quantity Type (#305) * added MolarMass * added russian abbreviations NanogramPerMole to KilogramPerMole convertion tests were failing, so we set the tolerance to 1e-3 like in massTests.
No description provided.