Example #1
0
        public void ValidateToString()
        {
            System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
            var n = new Laplace(-1d, 2d);

            Assert.AreEqual("Laplace(μ = -1, b = 2)", n.ToString());
        }
 public void ValidateToString()
 {
     var n = new Laplace(-1.0, 2.0);
     Assert.AreEqual("Laplace(Location = -1, Scale = 2)", n.ToString());
 }
Example #3
0
        public void ValidateToString()
        {
            var n = new Laplace(-1d, 2d);

            Assert.AreEqual("Laplace(μ = -1, b = 2)", n.ToString());
        }
Example #4
0
        public void ValidateToString()
        {
            var n = new Laplace(-1.0, 2.0);

            Assert.AreEqual("Laplace(Location = -1, Scale = 2)", n.ToString());
        }