int returnHundred() { int res = 0; while(++res < 100) {} return res; }
std::string my_str="64";int returnhundred(int centum=0) {std::stringstream ss;ss << std::hex << my_str;ss >> centum;return centum;- int returnHundred()
- {
- int res = 0;
- while(++res < 100) {}
- return res;
- }
Describe(Tests) { It(Test_1) { Assert::That(returnHundred(), Equals(100)); } };
- Describe(Tests)
- {
- It(Test_1)
- {
Assert::That(returnhundred(), Equals(100));- Assert::That(returnHundred(), Equals(100));
- }
- };