示例#1
0
 public void TestContains()
 {
     Directory.CreateDirectory(Path.Combine(_tempDir, "sha256new_123ABC"));
     _store.Contains(new ManifestDigest(sha256New: "123ABC")).Should().BeTrue();
     _store.Contains(new ManifestDigest(sha256New: "456XYZ")).Should().BeFalse();
 }
 public void TestContains()
 {
     Directory.CreateDirectory(Path.Combine(_tempDir, "sha256new_123ABC"));
     Assert.IsTrue(_store.Contains(new ManifestDigest(sha256New: "123ABC")));
     Assert.IsFalse(_store.Contains(new ManifestDigest(sha256New: "456XYZ")));
 }