spec/conv_spec.rb in asciimath2unitsml-0.3.1 vs spec/conv_spec.rb in asciimath2unitsml-0.3.2
- old
+ new
@@ -9,11 +9,11 @@
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mn>1</mn>
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_mm.s-2'>
<mi mathvariant='normal'>mm</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>
@@ -24,18 +24,18 @@
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_mm.s-2' dimensionURL='#NISTd28'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>mm*s^-2</UnitName>
<UnitSymbol type='HTML'>
- mm·s
+ mm⋅s
<sup>−2</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>mm</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>
@@ -416,11 +416,11 @@
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mn>1</mn>
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_kg.s-2'>
<mi mathvariant='normal'>kg</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>
@@ -431,18 +431,18 @@
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_kg.s-2' dimensionURL='#NISTd37'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>kg*s^-2</UnitName>
<UnitSymbol type='HTML'>
- kg·s
+ kg⋅s
<sup>−2</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>kg</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>
@@ -472,11 +472,11 @@
<mo>×</mo>
<mn>9</mn>
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_kg.s-2'>
<mi mathvariant='normal'>kg</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>
@@ -498,37 +498,37 @@
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_K/kg.m'>
<mi mathvariant='normal'>K</mi>
<mo>/</mo>
<mi mathvariant='normal'>kg</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<mi mathvariant='normal'>m</mi>
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_K.kg-1.m-1' dimensionURL='#D_L-1M-1Theta'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>K*kg^-1*m^-1</UnitName>
<UnitSymbol type='HTML'>
- K·kg
+ K⋅kg
<sup>−1</sup>
- ·m
+ ⋅m
<sup>−1</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>K</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>kg</mi>
</mrow>
<mrow>
<mo>−</mo>
<mn>1</mn>
</mrow>
</msup>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>m</mi>
</mrow>
<mrow>
@@ -724,11 +724,11 @@
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mn>9</mn>
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_A.C3'>
<mi mathvariant='normal'>A</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>C</mi>
</mrow>
<mrow>
@@ -738,18 +738,18 @@
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_A.C3' dimensionURL='#D_M3I4'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>A*C^3</UnitName>
<UnitSymbol type='HTML'>
- A·C
+ A⋅C
<sup>3</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>A</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>C</mi>
</mrow>
<mrow>
@@ -789,37 +789,37 @@
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_J/kg.K'>
<mi mathvariant='normal'>J</mi>
<mo>/</mo>
<mi mathvariant='normal'>kg</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<mi mathvariant='normal'>K</mi>
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_NISTu13.u27p10_3e-1/1.u5e-1/1' dimensionURL='#D_L2M0T-2Theta-1'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>joule per kilogram kelvin</UnitName>
<UnitSymbol type='HTML'>
- J·kg
+ J⋅kg
<sup>−1</sup>
- ·K
+ ⋅K
<sup>−1</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>J</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>kg</mi>
</mrow>
<mrow>
<mo>−</mo>
<mn>1</mn>
</mrow>
</msup>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>K</mi>
</mrow>
<mrow>
@@ -1129,11 +1129,11 @@
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mn>9</mn>
<mo rspace='thickmathspace'>⁢</mo>
<mrow xref='U_mW.cm-2'>
<mi mathvariant='normal'>mW</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>cm</mi>
</mrow>
<mrow>
@@ -1144,18 +1144,18 @@
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_mW.cm-2'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>mW*cm^-2</UnitName>
<UnitSymbol type='HTML'>
- mW·cm
+ mW⋅cm
<sup>−2</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>mW</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>cm</mi>
</mrow>
<mrow>
@@ -1252,11 +1252,11 @@
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>langley</UnitName>
<UnitSymbol type='HTML'>
cal
<sub>th</sub>
- ·cm
+ ⋅cm
<sup>−2</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
@@ -1266,11 +1266,11 @@
</mrow>
<mrow>
<mi mathvariant='normal'>th</mi>
</mrow>
</msub>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>cm</mi>
</mrow>
<mrow>
@@ -1346,18 +1346,18 @@
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_cm.s-2' dimensionURL='#NISTd28'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>cm*s^-2</UnitName>
<UnitSymbol type='HTML'>
- cm·s
+ cm⋅s
<sup>−2</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>cm</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>
@@ -1410,17 +1410,17 @@
</mrow>
<Unit xmlns='https://schema.unitsml.org/unitsml/1.0' xml:id='U_cm.s-2' dimensionURL='#NISTd28'>
<UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/>
<UnitName xml:lang='en'>cm*s^-2</UnitName>
<UnitSymbol type='HTML'>
- cm·s
+ cm⋅s
<sup>−2</sup>
</UnitSymbol>
<UnitSymbol type='MathML'>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi mathvariant='normal'>cm</mi>
- <mo>·</mo>
+ <mo>⋅</mo>
<msup>
<mrow>
<mi mathvariant='normal'>s</mi>
</mrow>
<mrow>