Exemple #1
0
 public void TestArePartialEqual_Empty() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("", ""));
Exemple #2
0
 public void TestArePartialEqual_FiveFalse2() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-JKL-MNO-123", "AAA-DDD-GGG-JJJ-MMM-123"));
Exemple #3
0
 public void TestArePartialEqual_DifferentLength() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-JKL-123", "ABC-DEF-GHI-JKL"));
Exemple #4
0
 public void TestArePartialEqual_FourFalse1() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-JKL-123", "ABC-DDD-GGG-JJJ-345"));
Exemple #5
0
 public void TestArePartialEqual_FiveTrue2() => Assert.IsTrue(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-JKL-MNO-123", "ABC-DEF-GHI-JJJ-MMM-123"));
Exemple #6
0
 public void TestArePartialEqual_ThreeFalse2() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-123", "AAA-DDD-GGG-345"));
Exemple #7
0
 public void TestArePartialEqual_FourTrue1() => Assert.IsTrue(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-JKL-123", "ABC-DEF-GHI-JKL-123"));
Exemple #8
0
 public void TestArePartialEqual_ThreeTrue2() => Assert.IsTrue(HardwareIdentifier.ArePartialEqual("ABC-DEF-GHI-123", "ABC-DEF-GGG-345"));
Exemple #9
0
 public void TestArePartialEqual_TwoFalse() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("ABC-DEF-123", "CCC-DDD-345"));
Exemple #10
0
 public void TestArePartialEqual_TwoTrue2() => Assert.IsTrue(HardwareIdentifier.ArePartialEqual("ABC-DEF-123", "ABC-DEF-123"));
Exemple #11
0
 public void TestArePartialEqual_OneFalse() => Assert.IsFalse(HardwareIdentifier.ArePartialEqual("ABC-123", "DDD-345"));
Exemple #12
0
 public void TestArePartialEqual_OneTrue() => Assert.IsTrue(HardwareIdentifier.ArePartialEqual("ABC-123", "ABC-345"));