public void Convert_ThirdValueDependencyPropertyUnset()
 {
     var converter = new DurationToHeightConverter();
     ((double)
      (converter.Convert(new[] {(long) (1), (long) (10), DependencyProperty.UnsetValue}, typeof (double), null,
                         CultureInfo.InvariantCulture))).Should().Be(1.0);
 }
 public void Convert_DurationIsNull()
 {
     var converter = new DurationToHeightConverter();
     ((double)
      (converter.Convert(new object[] {(long) (0), (double) (10), (double) (20)}, typeof (double), null,
                         CultureInfo.InvariantCulture))).Should().Be(1.0);
 }