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'>&#x2062;</mo> <mrow xref='U_mm.s-2'> <mi mathvariant='normal'>mm</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;s + mm&#x22C5;s <sup>&#x2212;2</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>mm</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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'>&#x2062;</mo> <mrow xref='U_kg.s-2'> <mi mathvariant='normal'>kg</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;s + kg&#x22C5;s <sup>&#x2212;2</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>kg</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</mo> <msup> <mrow> <mi mathvariant='normal'>s</mi> </mrow> <mrow> @@ -472,11 +472,11 @@ <mo>&#xD7;</mo> <mn>9</mn> <mo rspace='thickmathspace'>&#x2062;</mo> <mrow xref='U_kg.s-2'> <mi mathvariant='normal'>kg</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</mo> <msup> <mrow> <mi mathvariant='normal'>s</mi> </mrow> <mrow> @@ -498,37 +498,37 @@ <mo rspace='thickmathspace'>&#x2062;</mo> <mrow xref='U_K/kg.m'> <mi mathvariant='normal'>K</mi> <mo>/</mo> <mi mathvariant='normal'>kg</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;kg + K&#x22C5;kg <sup>&#x2212;1</sup> - &#xB7;m + &#x22C5;m <sup>&#x2212;1</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>K</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</mo> <msup> <mrow> <mi mathvariant='normal'>kg</mi> </mrow> <mrow> <mo>&#x2212;</mo> <mn>1</mn> </mrow> </msup> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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'>&#x2062;</mo> <mrow xref='U_A.C3'> <mi mathvariant='normal'>A</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;C + A&#x22C5;C <sup>3</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>A</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</mo> <msup> <mrow> <mi mathvariant='normal'>C</mi> </mrow> <mrow> @@ -789,37 +789,37 @@ <mo rspace='thickmathspace'>&#x2062;</mo> <mrow xref='U_J/kg.K'> <mi mathvariant='normal'>J</mi> <mo>/</mo> <mi mathvariant='normal'>kg</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;kg + J&#x22C5;kg <sup>&#x2212;1</sup> - &#xB7;K + &#x22C5;K <sup>&#x2212;1</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>J</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</mo> <msup> <mrow> <mi mathvariant='normal'>kg</mi> </mrow> <mrow> <mo>&#x2212;</mo> <mn>1</mn> </mrow> </msup> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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'>&#x2062;</mo> <mrow xref='U_mW.cm-2'> <mi mathvariant='normal'>mW</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;cm + mW&#x22C5;cm <sup>&#x2212;2</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>mW</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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> - &#xB7;cm + &#x22C5;cm <sup>&#x2212;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>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;s + cm&#x22C5;s <sup>&#x2212;2</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>cm</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</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&#xB7;s + cm&#x22C5;s <sup>&#x2212;2</sup> </UnitSymbol> <UnitSymbol type='MathML'> <math xmlns='http://www.w3.org/1998/Math/MathML'> <mrow> <mi mathvariant='normal'>cm</mi> - <mo>&#xB7;</mo> + <mo>&#x22C5;</mo> <msup> <mrow> <mi mathvariant='normal'>s</mi> </mrow> <mrow>