Esempio n. 1
0
        public void RandomOrg_GenerateGaussian_Standard()
        {
            RandomOrgClient proxy = new RandomOrgClient(Constants.ApiKey);
            double result = proxy.GetGaussian();

            Assert.IsTrue(result.ToString().Length <= 22);
        }
Esempio n. 2
0
        public void RandomOrg_GenerateGaussian_Specific()
        {
            RandomOrgClient proxy = new RandomOrgClient(Constants.ApiKey);
            double result = proxy.GetGaussian(50.0D, 0.5D, 5);

            Assert.IsTrue(result.ToString().Length <= 7);
        }