Ejemplo n.º 1
0
        public void AnyLatinSupplementChar_Distribution()
        {
            var anon       = new AnonymousData();
            var classifier = new Classifier <char>();

            classifier.AddClassification("Alpha", d => d >= 0xa0 && d <= 0xff);

            classifier.Classify(() => anon.AnyLatinSupplementChar(Distribution.Uniform));

            Assert.True(classifier["Alpha"] == 1.0);
        }