projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make the test actually test what it's supposed to test. Add a test for the from memor...
[oota-llvm.git]
/
lib
/
Fuzzer
/
test
/
TestFuzzerCrossOver.cpp
1
#include "FuzzerInternal.h"
2
3
int main() {
4
using namespace fuzzer;
5
Unit A({0, 1, 2, 3, 4}), B({5, 6, 7, 8, 9});
6
Unit C;
7
for (size_t Len = 1; Len < 15; Len++) {
8
for (int Iter = 0; Iter < 1000; Iter++) {
9
CrossOver(A, B, &C, Len);
10
Print(C);
11
}
12
}
13
}