|
| 1 | +//------------------------------------------------------------------------------ |
| 2 | +// <auto-generated> |
| 3 | +// This code was generated (once) by \generate-code.bat, but will not be |
| 4 | +// regenerated when it already exists. The purpose of creating this file is to make |
| 5 | +// it easier to remember to implement all the unit conversion test cases. |
| 6 | +// |
| 7 | +// Whenever a new unit is added to this quantity and \generate-code.bat is run, |
| 8 | +// the base test class will get a new abstract property and cause a compile error |
| 9 | +// in this derived class, reminding the developer to implement the test case |
| 10 | +// for the new unit. |
| 11 | +// |
| 12 | +// See https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit for how to add or edit units. |
| 13 | +// |
| 14 | +// Add CustomCode\Quantities\MyUnit.extra.cs files to add code to generated quantities. |
| 15 | +// Add Extensions\MyUnitExtensions.cs to decorate quantities with new behavior. |
| 16 | +// Add UnitDefinitions\MyUnit.json and run GeneratUnits.bat to generate new units or quantities. |
| 17 | +// |
| 18 | +// </auto-generated> |
| 19 | +//------------------------------------------------------------------------------ |
| 20 | + |
| 21 | +// Copyright (c) 2013 Andreas Gullberg Larsen ([email protected]). |
| 22 | +// https://github.com/angularsen/UnitsNet |
| 23 | +// |
| 24 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 25 | +// of this software and associated documentation files (the "Software"), to deal |
| 26 | +// in the Software without restriction, including without limitation the rights |
| 27 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 28 | +// copies of the Software, and to permit persons to whom the Software is |
| 29 | +// furnished to do so, subject to the following conditions: |
| 30 | +// |
| 31 | +// The above copyright notice and this permission notice shall be included in |
| 32 | +// all copies or substantial portions of the Software. |
| 33 | +// |
| 34 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 35 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 36 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 37 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 38 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 39 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 40 | +// THE SOFTWARE. |
| 41 | + |
| 42 | +namespace UnitsNet.Tests.CustomCode |
| 43 | +{ |
| 44 | + public class VolumeFlowTests : VolumeFlowTestsBase |
| 45 | + { |
| 46 | + protected override double CubicMetersPerHourInOneCubicMeterPerSecond => 3600.0; |
| 47 | + |
| 48 | + protected override double CubicDecimetersPerMinuteInOneCubicMeterPerSecond => 60000.00000; |
| 49 | + |
| 50 | + protected override double CubicFeetPerHourInOneCubicMeterPerSecond => 1.271328001973604e+5; |
| 51 | + |
| 52 | + protected override double CubicFeetPerSecondInOneCubicMeterPerSecond => 35.314666721489; |
| 53 | + |
| 54 | + protected override double MillionUsGallonsPerDayInOneCubicMeterPerSecond => 22.824465227; |
| 55 | + |
| 56 | + protected override double CubicMetersPerSecondInOneCubicMeterPerSecond => 1; |
| 57 | + |
| 58 | + protected override double UsGallonsPerMinuteInOneCubicMeterPerSecond => 15850.323141489; |
| 59 | + protected override double LitersPerHourInOneCubicMeterPerSecond => 3600000; |
| 60 | + |
| 61 | + protected override double LitersPerMinuteInOneCubicMeterPerSecond => 60000.00000; |
| 62 | + |
| 63 | + protected override double NanolitersPerMinuteInOneCubicMeterPerSecond => 60000000000000.00000; |
| 64 | + protected override double LitersPerSecondInOneCubicMeterPerSecond => 1000; |
| 65 | + |
| 66 | + protected override double MicrolitersPerMinuteInOneCubicMeterPerSecond => 60000000000.00000; |
| 67 | + |
| 68 | + protected override double MillilitersPerMinuteInOneCubicMeterPerSecond => 60000000.00000; |
| 69 | + |
| 70 | + protected override double CentilitersPerMinuteInOneCubicMeterPerSecond => 6000000.00000; |
| 71 | + |
| 72 | + protected override double DecilitersPerMinuteInOneCubicMeterPerSecond => 600000.00000; |
| 73 | + |
| 74 | + protected override double KilolitersPerMinuteInOneCubicMeterPerSecond => 60.00000; |
| 75 | + |
| 76 | + protected override double OilBarrelsPerDayInOneCubicMeterPerSecond => 543439.65056533388306722269588172; |
| 77 | + |
| 78 | + protected override double CubicFeetPerMinuteInOneCubicMeterPerSecond => 2.11888E3; |
| 79 | + |
| 80 | + protected override double CubicMetersPerMinuteInOneCubicMeterPerSecond => 6.0E1; |
| 81 | + |
| 82 | + protected override double CubicYardsPerHourInOneCubicMeterPerSecond => 4.708622232E3; |
| 83 | + |
| 84 | + protected override double CubicYardsPerMinuteInOneCubicMeterPerSecond => 7.84770372E1; |
| 85 | + |
| 86 | + protected override double CubicYardsPerSecondInOneCubicMeterPerSecond => 1.30795062; |
| 87 | + |
| 88 | + protected override double UsGallonsPerHourInOneCubicMeterPerSecond => 9.510193884893328E5; |
| 89 | + |
| 90 | + protected override double UsGallonsPerSecondInOneCubicMeterPerSecond => 2.64172052358148E2; |
| 91 | + } |
| 92 | +} |
0 commit comments