public void TestDoMeldsOverlapNegativeEmpty() { Meld meldA = new Meld(); Meld meldB = new Meld(); Assert.IsFalse(meldA.DoesOverlap(meldB)); }
public void TestDoMeldsOverlapPositive() { Meld meldA = new Meld(); Meld meldB = new Meld(); meldA.AddCard(new Card("Ah")); meldA.AddCard(new Card("As")); meldA.AddCard(new Card("Ac")); meldB.AddCard(new Card("Ah")); meldB.AddCard(new Card("As")); meldB.AddCard(new Card("Ad")); Assert.IsTrue(meldA.DoesOverlap(meldB)); }
public void TestDoMeldsOverlapNegativeSeparate() { Meld meldA = new Meld(); Meld meldB = new Meld(); meldA.AddCard(new Card("Ah")); meldA.AddCard(new Card("As")); meldA.AddCard(new Card("Ac")); meldB.AddCard(new Card("Kh")); meldB.AddCard(new Card("Ks")); meldB.AddCard(new Card("Kc")); Assert.IsFalse(meldA.DoesOverlap(meldB)); }