File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,15 @@ mod decimal {
217217 == Decimal :: from_str_exact( "-12345678901234" ) . unwrap( ) ,
218218 "CAST('-1234567890.1234' AS MONEY)" == Decimal :: from_str_exact( "-1234567890.1234" ) . unwrap( ) ,
219219 "CAST('-123456.1234' AS SMALLMONEY)" == Decimal :: from_str_exact( "-123456.1234" ) . unwrap( ) ,
220+ "CAST('922337203685477.5807' AS MONEY)" == Decimal :: from_str_exact( "922337203685477.5807" ) . unwrap( ) ,
221+ "CAST('-922337203685477.5808' AS MONEY)" == Decimal :: from_str_exact( "-922337203685477.5808" ) . unwrap( ) ,
222+ "CAST('214748.3647' AS SMALLMONEY)" == Decimal :: from_str_exact( "214748.3647" ) . unwrap( ) ,
223+ "CAST('-214748.3648' AS SMALLMONEY)" == Decimal :: from_str_exact( "-214748.3648" ) . unwrap( ) ,
224+ "CAST('0.0001' AS MONEY)" == Decimal :: from_str_exact( "0.0001" ) . unwrap( ) ,
225+ "CAST('-0.0001' AS MONEY)" == Decimal :: from_str_exact( "-0.0001" ) . unwrap( ) ,
226+ "CAST('0.0000' AS MONEY)" == Decimal :: from_str_exact( "0.0000" ) . unwrap( ) ,
227+ "CAST('999999999999999.9999' AS MONEY)" == Decimal :: from_str_exact( "999999999999999.9999" ) . unwrap( ) ,
228+ "CAST('-999999999999999.9999' AS MONEY)" == Decimal :: from_str_exact( "-999999999999999.9999" ) . unwrap( ) ,
220229 ) ) ;
221230}
222231
You can’t perform that action at this time.
0 commit comments