File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,10 @@ test_type!(f32(
8080
8181test_type ! ( f64 ( 
8282    Odbc , 
83-     "939399419.1225182 "  == 939399419.1225182_f64 , 
84-     "3.14159265358979 "  == 3.14159265358979_f64  , 
83+     "123456.75 "  == 123456.75_f64 , 
84+     "3.141592653589793 "  == 3.141592653589793_f64  , 
8585    "0.0"  == 0.0_f64 , 
86-     "-1.23456789 "  == -1.23456789_f64  
86+     "-1.25 "  == -1.25_f64  
8787) ) ; 
8888
8989// String types 
@@ -237,8 +237,8 @@ test_type!(cross_type_unsigned_compatibility<u32>(Odbc,
237237) ) ; 
238238
239239test_type ! ( cross_type_float_compatibility<f64 >( Odbc , 
240-     "3.14159 "  == 3.14159_f64  , 
241-     "123.456789 "  == 123.456789_f64  
240+     "3.125 "  == 3.125_f64  , 
241+     "123.75 "  == 123.75_f64  
242242) ) ; 
243243
244244// Type coercion from strings 
@@ -248,8 +248,8 @@ test_type!(string_to_integer<i32>(Odbc,
248248) ) ; 
249249
250250test_type ! ( string_to_float<f64 >( Odbc , 
251-     "'3.14159 '"  == 3.14159_f64  , 
252-     "'-2.718 '"  == -2.718_f64  
251+     "'3.125 '"  == 3.125_f64  , 
252+     "'-2.75 '"  == -2.75_f64  
253253) ) ; 
254254
255255test_type ! ( string_to_bool<bool >( Odbc , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments