コード例 #1
0
        public void ValidateToString()
        {
            System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
            var n = new StudentT(1.0, 2.0, 1.0);

            Assert.AreEqual("StudentT(μ = 1, σ = 2, ν = 1)", n.ToString());
        }
コード例 #2
0
        public void ValidateToString()
        {
            var n = new StudentT(1.0, 2.0, 1.0);

            Assert.AreEqual <string>("StudentT(Location = 1, Scale = 2, DoF = 1)", n.ToString());
        }
コード例 #3
0
        public void ValidateToString()
        {
            var n = new StudentT(1.0, 2.0, 1.0);

            Assert.AreEqual("StudentT(μ = 1, σ = 2, ν = 1)", n.ToString());
        }
コード例 #4
0
 public void ValidateToString()
 {
     var n = new StudentT(1.0, 2.0, 1.0);
     AssertEx.AreEqual<string>("StudentT(Location = 1, Scale = 2, DoF = 1)", n.ToString());
 }