public void ForTopology_ValueChanges() { var provider = new IdProvider(); var cpuId = "LOLOL"; var topology = Generators.CreateNewTopology().ToDto();; var original = provider.GetForTopology(cpuId, topology); Assert.AreEqual(original, provider.GetForTopology(cpuId, topology)); topology.TotalDepth = topology.TotalDepth + 1; Assert.AreNotEqual(original, provider.GetForTopology(cpuId, topology)); topology.TotalLogicalCores = topology.TotalLogicalCores + 1; Assert.AreNotEqual(original, provider.GetForTopology(cpuId, topology)); topology.TotalPhysicalCores = topology.TotalPhysicalCores + 1; Assert.AreNotEqual(original, provider.GetForTopology(cpuId, topology)); topology.Root.Name = $"{topology.Root.Name }sdfds"; Assert.AreNotEqual(original, provider.GetForTopology(cpuId, topology)); }