Module:Convert/sandbox/testcases: Difference between revisions

Content deleted Content added
little more; current results
remove some superfluous tests, including unused units not supported by module
Line 1,500:
{{convert/sandbox|1|g|lb st kg|lk=on}} 1 [[gram]] (0.0022 [[Pound (mass)|lb]]; 0.00016 [[Stone (unit)|st]]; 0.0010 [[Kilogram|kg]])
{{convert/sandbox|1|g|lb stlb|lk=on}} 1 [[gram]] (0.0022 [[Pound (mass)|lb]]; 0.0022 [[Pound (mass)|lb]])
{{convert/sandbox|1|lboz|lk=on}} 1 [[lboz]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_invalid_here|<span title="Convert: Unit &quot;lboz&quot; is invalid here">Convert: Unit invalid here</span>]]</i>]</sup>
{{convert/sandbox|1|g|lboz|lk=on}} 1 [[gram]] (0.035&nbsp;[[ounce|oz]])
{{convert/sandbox|1|lbs|lk=on}} 1 [[Pound (mass)|pound]] (0.45&nbsp;[[Kilogram|kg]])
Line 1,533 ⟶ 1,532:
{{convert/sandbox|1|g|Mt|lk=on}} 1 [[gram]] (1.0<span style="margin:0 .15em 0 .25em">×</span>10<sup>−12</sup>&nbsp;[[Tonne|Mt]])
{{convert/sandbox|1|MTON|lk=on}} 1 [[measurement ton]] (1.1&nbsp;[[Cubic metre|m<sup>3</sup>]])
{{convert/sandbox|1|g|MTON|lk=on}} 1 [[gram]] (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_mismatch|<span title="Convert: Cannot convert &quot;mass&quot; to &quot;volume&quot;">Convert: Unit mismatch</span>]]</i>]</sup>)
{{convert/sandbox|1|ng|lk=on}} 1 [[Gram|nanogram]] (1.5<span style="margin:0 .15em 0 .25em">×</span>10<sup>−8</sup>&nbsp;[[Grain (unit)|gr]])
{{convert/sandbox|1|g|ng|lk=on}} 1 [[gram]] (1.0<span style="margin:0 .15em 0 .25em">×</span>10<sup>9</sup>&nbsp;[[Gram|ng]])
Line 1,571 ⟶ 1,569:
{{convert/sandbox|1|g|ST t|lk=on}} 1 [[gram]] (1.1<span style="margin:0 .15em 0 .25em">×</span>10<sup>−6</sup> [[short ton]]s; 1.0<span style="margin:0 .15em 0 .25em">×</span>10<sup>−6</sup>&nbsp;[[tonne|t]])
{{convert/sandbox|1|g|ST t LT|lk=on}} 1 [[gram]] (1.1<span style="margin:0 .15em 0 .25em">×</span>10<sup>−6</sup>&nbsp;[[short ton|ST]]; 1.0<span style="margin:0 .15em 0 .25em">×</span>10<sup>−6</sup>&nbsp;[[tonne|t]]; 9.8<span style="margin:0 .15em 0 .25em">×</span>10<sup>−7</sup>&nbsp;[[long ton|LT]])
{{convert/sandbox|1|stlb|lk=on}} 1 [[stlb]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_invalid_here|<span title="Convert: Unit &quot;stlb&quot; is invalid here">Convert: Unit invalid here</span>]]</i>]</sup>
{{convert/sandbox|1|g|stlb|lk=on}} 1 [[gram]] (0.0022&nbsp;[[Pound (mass)|lb]])
{{convert/sandbox|1|stone|lk=on}} 1 [[Stone (unit)|stone]] (14&nbsp;[[Pound (mass)|lb]]; 6.4&nbsp;[[Kilogram|kg]])
Line 2,064 ⟶ 2,061:
{{convert/sandbox|1|h|lk=on}} 1 [[hour]] (3.6&nbsp;[[Kilosecond|ks]])
{{convert/sandbox|1|s|h|lk=on}} 1 [[second]] (0.00028&nbsp;[[hour|h]])
{{convert/sandbox|1|horse year|lk=on}} 1 [[horse year]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;horse year&quot; is not known">Convert: Unknown unit</span>]]</i>]</sup>
{{convert/sandbox|1|s|horse year|lk=on}} 1 [[second]] (<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;horse year&quot; is not known">Convert: Unknown unit</span>]]</i>]</sup>)
{{convert/sandbox|1|hour|lk=on}} 1 [[hour]] (3.6&nbsp;[[Kilosecond|ks]])
{{convert/sandbox|1|s|hour|lk=on}} 1 [[second]] (0.00028&nbsp;[[hour|h]])
Line 2,661 ⟶ 2,656:
{{convert/sandbox|1|lbm/cuin|lk=on}} 1 [[Density|pound mass per cubic inch]] (28&nbsp;[[Gram|g]]/[[Cubic centimetre|cm<sup>3</sup>]])
{{convert/sandbox|1|lbm/in3|lk=on}} 1 [[Density|pound mass per cubic inch]] (28&nbsp;[[Gram|g]]/[[Cubic centimetre|cm<sup>3</sup>]])
{{convert/sandbox|1|LT ST/acre|lk=on}} 1 [[LT ST/acre]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_invalid_here|<span title="Convert: Unit &quot;LT ST/acre&quot; is invalid here">Convert: Unit invalid here</span>]]</i>]</sup>
{{convert/sandbox|1|LT/acre|lk=on}} 1 [[long ton]] per [[acre]] (2.5&nbsp;[[tonne|t]]/[[hectare|ha]])
{{convert/sandbox|1|LT/acre ST/acre|lk=on}} 1 [[LT/acre ST/acre]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unit_invalid_here|<span title="Convert: Unit &quot;LT/acre ST/acre&quot; is invalid here">Convert: Unit invalid here</span>]]</i>]</sup>
{{convert/sandbox|1|m2/ha|lk=on}} 1 [[Basal area|square metre per hectare]] (4.4&nbsp;[[square foot per acre|sq&nbsp;ft/acre]])
{{convert/sandbox|1|m3/ha|lk=on}} 1 [[Hectare|cubic metre per hectare]] (11 [[Bushel|US bushels per acre]])
{{convert/sandbox|1|m3/km2|lk=on}} 1 [[cubic metre]] per [[square kilometre]] (91&nbsp;[[cubic foot|cu&nbsp;ft]]/[[square mile|sq&nbsp;mi]])
{{convert/sandbox|1|note|lk=on}} 1 [[note]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;note&quot; is not known">Convert: Unknown unit</span>]]</i>]</sup>
{{convert/sandbox|1|ozCO2/mi|lk=on}} 1 [[Exhaust gas|ounce of CO<sub>2</sub> per mile]] (18&nbsp;[[Exhaust gas|g(CO<sub>2</sub>)/km]])
{{convert/sandbox|1|PS/t|lk=on}} 1 [[Power-to-weight ratio|metric horsepower per tonne]] (0.74&nbsp;[[Power-to-weight ratio|kW/t]])
{{convert/sandbox|1|psi/ft|lk=on}} 1 [[Pounds per square inch|pound per square inch]] per [[Fracture gradient|foot]] (23&nbsp;[[Pascal (unit)|kPa]]/[[Fracture gradient|m]])
{{convert/sandbox|1|spanner|lk=on}} 1 [[spanner]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;spanner&quot; is not known">Convert: Unknown unit</span>]]</i>]</sup>
{{convert/sandbox|1|sqft/acre|lk=on}} 1 [[square foot per acre]] (0.23&nbsp;[[Basal area|m<sup>2</sup>/ha]])
{{convert/sandbox|1|ST/acre|lk=on}} 1 [[short ton]] per [[acre]] (2.2&nbsp;[[tonne|t]]/[[hectare|ha]])
Line 2,679 ⟶ 2,670:
{{convert/sandbox|1|USgal/acre|lk=on}} 1 [[US gallon]] per [[acre]] (0.94&nbsp;[[Cubic metre|m<sup>3</sup>]]/[[Square kilometre|km<sup>2</sup>]])
{{convert/sandbox|1|usgalh2o|lk=on}} 1 [[United States customary units#Fluid volume|US gallon of water]] (8.3&nbsp;[[Pound (mass)|lb]]; 3.8&nbsp;[[Kilogram|kg]])
{{convert/sandbox|1|wrench|lk=on}} 1 [[wrench]]<sup class="noprint Inline-Template" style="white-space:nowrap;">[<i>[[Help:Convert messages#unknown_unit|<span title="Convert: Unit name &quot;wrench&quot; is not known">Convert: Unknown unit</span>]]</i>]</sup>
 
]==]