MCPcopy Create free account
hub / github.com/ada-url/ada / main

Function main

tests/basic_fuzzer.cpp:121–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121int main() {
122 if (std::endian::native == std::endian::big) {
123 std::cout << "You have big-endian system." << std::endl;
124 } else {
125 std::cout << "You have litte-endian system." << std::endl;
126 }
127 std::cout << "Running basic fuzzer.\n";
128 std::cout << "[fancy] Executed " << fancy_fuzz<ada::url>(100000)
129 << " mutations.\n";
130 std::cout << "[simple] Executed " << simple_fuzz<ada::url>(40000)
131 << " mutations.\n";
132 std::cout << "[roller] Executed " << roller_fuzz<ada::url>(40000)
133 << " correct cases.\n";
134 std::cout << "[fancy] Executed " << fancy_fuzz<ada::url_aggregator>(100000)
135 << " mutations.\n";
136 std::cout << "[simple] Executed " << simple_fuzz<ada::url_aggregator>(40000)
137 << " mutations.\n";
138 std::cout << "[roller] Executed " << roller_fuzz<ada::url_aggregator>(40000)
139 << " correct cases.\n";
140 return EXIT_SUCCESS;
141}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected