public void t_GetBoolFromName_null() { IDataReader reader = setupNullReader(typeof(bool)); bool actual; actual = IDataReaderExtensions.GetBoolFromName(reader, columnName); Assert.IsFalse(actual); }
public void t_GetBoolFromName_true() { bool value = true; IDataReader reader = setupReader(value); bool actual; actual = IDataReaderExtensions.GetBoolFromName(reader, columnName); Assert.IsTrue(actual); }