public void Extractor() { using (var transparency = new TransparencyChecker()) { FingerprintTemplateTest.ProbeGray(); Assert.IsNotEmpty(transparency.Keys); } }
public void Versioned() { using (var transparency = new TransparencyChecker()) { FingerprintTemplateTest.ProbeGray(); Assert.Contains("version", transparency.Keys); } }
public void Filtered() { using (var transparency = new TransparencyFilter()) { new FingerprintMatcher(FingerprintTemplateTest.ProbeGray()) .Match(FingerprintTemplateTest.MatchingGray()); Assert.IsEmpty(transparency.Keys); } }
public void Deserialization() { var serialized = FingerprintTemplateTest.ProbeGray().ToByteArray(); using (var transparency = new TransparencyChecker()) { new FingerprintTemplate(serialized); Assert.IsNotEmpty(transparency.Keys); } }
public void Matcher() { var probe = FingerprintTemplateTest.ProbeGray(); var matching = FingerprintTemplateTest.MatchingGray(); using (var transparency = new TransparencyChecker()) { new FingerprintMatcher(probe).Match(matching); Assert.IsNotEmpty(transparency.Keys); } }
[Test] public void NonmatchingGray() { Nonmatching(FingerprintTemplateTest.ProbeGray(), FingerprintTemplateTest.NonmatchingGray()); }
[Test] public void MatchingGray() { Matching(FingerprintTemplateTest.ProbeGray(), FingerprintTemplateTest.MatchingGray()); }
[Test] public void NonmatchingPair() { Nonmatching(FingerprintTemplateTest.Probe(), FingerprintTemplateTest.Nonmatching()); }
[Test] public void MatchingPair() { Matching(FingerprintTemplateTest.Probe(), FingerprintTemplateTest.Matching()); }