CS 120

Testing Practice

Password Creation Function

Your file must be named test_cases.cpp

It should start with the following code:

#include <string>
using namespace std;

/**
* Password validation function
* Requires: nothing
* Modifies: nothing
* Effects: Returns whether the given password is allowed
* with the given rules.
* also returns number of characters counted.
* Must include one uppercase letter, one lowercase,
* one number, and one special character.
*/

tuple<bool, int> password(string pass);

int main() {
    
    return 0;
}

Upload your test_cases.cpp file: