|
ORE Studio 0.0.4
|
Test data generators for risk domain types. More...
Functions | |
| std::vector< domain::country > | generate_fictional_countries (std::size_t n=0) |
| Generates a set of fictional countries. | |
| domain::currency | generate_synthetic_currency () |
| Generates a synthetic currency. | |
| std::vector< domain::currency > | generate_synthetic_unicode_currencies () |
| Generates a synthetic currency from the unicode set. | |
| std::vector< domain::currency > | generate_synthetic_currencies (std::size_t n) |
| Generates N synthetic currencies. May contain duplicates. | |
| std::vector< domain::currency > | generate_unique_synthetic_currencies (std::size_t n) |
| Generates N synthetic currencies. Does not contain duplicates. | |
| std::vector< domain::currency > | generate_fictional_currencies (std::size_t n=0) |
| Generates a set of fictional currencies. | |
Test data generators for risk domain types.
Provides synthetic data generation for testing using faker-cxx. Includes generators for currency and related entities.
| std::vector< domain::country > generate_fictional_countries | ( | std::size_t | n = 0 | ) |
Generates a set of fictional countries.
These are intentionally fake countries with made-up codes that do not correspond to any real ISO 3166-1 codes. Useful for testing and demo purposes where real country data should not be used.
| n | Number of countries to generate. If n is 0 or greater than the available set (50), returns all available fictional countries. |
| std::vector< domain::currency > generate_synthetic_currencies | ( | std::size_t | n | ) |
Generates N synthetic currencies. May contain duplicates.
| std::vector< domain::currency > generate_unique_synthetic_currencies | ( | std::size_t | n | ) |
Generates N synthetic currencies. Does not contain duplicates.
| std::vector< domain::currency > generate_fictional_currencies | ( | std::size_t | n = 0 | ) |
Generates a set of fictional currencies.
These are intentionally fake currencies with made-up codes that do not correspond to any real ISO 4217 codes. Useful for testing and demo purposes where real currency data should not be used.
| n | Number of currencies to generate. If n is 0 or greater than the available set (50), returns all available fictional currencies. |