public void TracePriorityManager_CreateWithSeed()
        {
            var priorityManager = new NewRelicCore.DistributedTracing.TracePriorityManager(SeedForTesting);

            foreach (var expect in Expected)
            {
                var priority = priorityManager.Create();
                Assert.That(priority, Is.EqualTo(expect).Within(Epsilon));
            }
        }
        public void TracePriorityManager_CreateNoSeed()
        {
            var priorityManager = new NewRelicCore.DistributedTracing.TracePriorityManager();

            for (var i = 0; i < 50; ++i)
            {
                var priority = priorityManager.Create();
                Assert.That(priority, Is.LessThanOrEqualTo(1.0f).And.GreaterThanOrEqualTo(0.0f));
            }
        }