public void SampleNayTest() { Dictionary <string, string> gunners = new Dictionary <string, string> { { "Mike", "aye" }, { "Joe", "nay" }, { "Johnson", "aye" }, { "Peter", "aye" } }; Assert.AreEqual("Shiver me timbers!", PiratesCannonsReady.CannonsReady(gunners)); }
public void SampleAyeTest() { Dictionary <string, string> gunners = new Dictionary <string, string> { { "Mike", "aye" }, { "Joe", "aye" }, { "Johnson", "aye" }, { "Peter", "aye" } }; Assert.AreEqual("Fire!", PiratesCannonsReady.CannonsReady(gunners)); }