Esempio n. 1
0
        public void Two_root_paths_with_different_name_Have_different_hashcodes()
        {
            var root1 = new RootActorPath("root1");
            var root2 = new RootActorPath("root2");

            root1.GetHashCode().Should().NotBe(root2.GetHashCode());
        }
Esempio n. 2
0
        public void Two_root_paths_with_same_name_Have_same_hashcode()
        {
            var root1 = new RootActorPath("root");
            var root2 = new RootActorPath("root");

            root1.GetHashCode().Should().Be(root2.GetHashCode());
        }