unitTest.cpp 1.9 KB

1234567891011
  1. Describe(wurst_is_better)
  2. {
  3. It(test1){Assert::That(wurstIsBetter("Sausage fests are like salami fests"), Equals("Wurst fests are like Wurst fests"));}
  4. It(test2){Assert::That(wurstIsBetter("Add the kielbasa and the reserved potatoes and stir through"), Equals("Add the Wurst and the reserved potatoes and stir through"));}
  5. It(test3){Assert::That(wurstIsBetter("Salami sandwiches, salami and cheese, salami on crackers— I couldn't get enough of the salty, spicy sausage"), Equals("Wurst sandwiches, Wurst and cheese, Wurst on crackers— I couldn't get enough of the salty, spicy Wurst"));}
  6. It(test4){Assert::That(wurstIsBetter("sich die Wurst vom Brot nehmen lassen"), Equals("sich die Wurst vom Brot nehmen lassen"));}
  7. It(test5){Assert::That(wurstIsBetter("Bratwurst and Rostbratwurst is a sausage made from finely minced pork and beef and usually grilled and served with sweet German mustard and a piece of bread or hard roll. It can be sliced and made into Currywurst by slathering it in a catchup-curry sauce."), Equals("Bratwurst and Rostbratwurst is a Wurst made from finely minced pork and beef and usually grilled and served with sweet German mustard and a piece of bread or hard roll. It can be sliced and made into Currywurst by slathering it in a catchup-curry sauce."));}
  8. It(test6){Assert::That(wurstIsBetter("Il n’arrête pas de faire l’andouille"), Equals("Il n’arrête pas de faire l’Wurst"));}
  9. It(test7){Assert::That(wurstIsBetter("Naem is a common way of preserving pork meat in several Southeast Asian countries, including Thailand, Laos, Cambodia and Vietnam"), Equals("Wurst is a common way of preserving pork meat in several Southeast Asian countries, including Thailand, Laos, Cambodia and Vietnam"));}
  10. It(test8){Assert::That(wurstIsBetter("The chipper group over at Orangatang recently dropped another wheel sensation; the Moronga"), Equals("The chipper group over at Orangatang recently dropped another wheel sensation; the Wurst"));}
  11. };