-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added passport to person * separated tests and fixed documentation
- Loading branch information
1 parent
ee834b6
commit 8d37101
Showing
4 changed files
with
136 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#pragma once | ||
|
||
#include <map> | ||
#include <string> | ||
|
||
namespace faker | ||
{ | ||
|
||
enum class PassportCountry | ||
{ | ||
Usa, | ||
Poland, | ||
France, | ||
Romania, | ||
}; | ||
|
||
const std::map<PassportCountry, std::string> passportFormats{ | ||
{PassportCountry::Usa, "AA0000000"}, | ||
{PassportCountry::Poland, "AA0000000"}, | ||
{PassportCountry::France, "00AA00000"}, | ||
{PassportCountry::Romania, "00000000"}, | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters