public void Convert_BoolenFalseToDouble_ReturnsDoubleZero() { BoolenToDoubleConverter converter = new BoolenToDoubleConverter(); var result = converter.Convert(false, null, null, null); Assert.That(result, Is.EqualTo(0.0)); }
public void Convert_BoolenTrueToDouble_ReturnsDoubleOne() { BoolenToDoubleConverter converter = new BoolenToDoubleConverter(); var result = converter.Convert(true, null, null, null); Assert.That(result, Is.EqualTo(1.0)); }