コード例 #1
0
 public void GetValue_ReturnDoubleCase()
 {
     using (var connection = new SqliteConnection(connectionString)) {
         MakeTable(connection);
         connection.Execute(sqlInsert, new { name = "PI", str_value = "3.14159265359" });
         dynamic parameters = new ParametersService(connection);
         Assert.That(parameters.PI(typeof(double)), Is.EqualTo(3.14159265359d));
     }
 }