コード例 #1
0
 public void GetValue_ReturnBooleanCase()
 {
     using (var connection = new SqliteConnection(connectionString)) {
         MakeTable(connection);
         connection.Execute(sqlInsert, new { name = "IsTrue", str_value = "True" });
         dynamic parameters = new ParametersService(connection);
         Assert.That(parameters.IsTrue(typeof(bool)), Is.EqualTo(true));
     }
 }