public void Problem003_Barbecue_Skewers_Test_6() { string[] bbq = new string[] { }; int[] act = Problem003.BarbecueSkewers(bbq); int[] excepted = new int[] { 0, 0 }; Assert.Equal(act, excepted); }
public void Problem003_Barbecue_Skewers_Test_1() { string[] bbq = new string[] { "--oooo-ooo--", "--xx--x--xx--", "--o---o--oo--", "--xx--x--ox--", "--xx--x--ox--" }; int[] act = Problem003.BarbecueSkewers(bbq); int[] excepted = new int[] { 2, 3 }; Assert.Equal(act, excepted); }
public void Problem003_Barbecue_Skewers_Test_4() { string[] bbq = new string[] { "--xxxxx-xx--", "--x--x--x-", "--x---", "-x-----x---x--", "--x---x-----x-", "--x---x-----x-", }; int[] act = Problem003.BarbecueSkewers(bbq); int[] excepted = new int[] { 0, 6 }; Assert.Equal(act, excepted); }