public void ParseTest()
        {
            var currentCulture = Thread.CurrentThread.CurrentCulture;
            Thread.CurrentThread.CurrentCulture = new CultureInfo("de-AT");

            Assert.AreEqual(new DoubleRange(-1.2, +3.4), DoubleRange.Parse("-1,2; 3,4"));
            Assert.AreEqual(new DoubleRange(-1.2, +3.4), DoubleRange.Parse("-1.2, 3.4", CultureInfo.InvariantCulture));

            Thread.CurrentThread.CurrentCulture = currentCulture;
        }
 public void ParseShouldThrowIfInvalid()
 {
     DoubleRange.Parse("x");
 }
 public void ParseShouldThrowIfNull()
 {
     DoubleRange.Parse(null);
 }