public void HonorTileIsTripletTest_ProperTripletDataTooFewTiles_IsFalse() { var tileA = new HonorTile(Suit.Wind, HonorType.East); var tileB = new HonorTile(Suit.Wind, HonorType.East); Assert.IsFalse(HonorTile.IsTriplet(tileA, tileB)); }
public void HonorTileIsIsTripletTest_WrongHonorTypes_IsFalse() { var tileA = new HonorTile(Suit.Wind, HonorType.East); var tileB = new HonorTile(Suit.Wind, HonorType.East); var tileC = new HonorTile(Suit.Wind, HonorType.South); Assert.IsFalse(HonorTile.IsTriplet(tileA, tileB, tileC)); }
public void HonorTileIsTripletTest_WrongSuit_IsFalse() { var tileA = new HonorTile(Suit.Wind, HonorType.East); var tileB = new HonorTile(Suit.Wind, HonorType.East); var tileC = new HonorTile(Suit.Dragon, HonorType.Red); Assert.IsFalse(HonorTile.IsTriplet(tileA, tileB, tileC)); }
public void HonorTileIsTripletTest_ProperTripletData_IsTrue() { var tileA = new HonorTile(Suit.Wind, HonorType.East); var tileB = new HonorTile(Suit.Wind, HonorType.East); var tileC = new HonorTile(Suit.Wind, HonorType.East); Assert.IsTrue(HonorTile.IsTriplet(tileA, tileB, tileC)); }