diff options
| author | Yidi <noob999noob999@gmail.com> | 2024-09-06 18:03:19 +0200 |
|---|---|---|
| committer | Yidi <noob999noob999@gmail.com> | 2024-09-06 18:03:19 +0200 |
| commit | 77997253fb0978c2f45b73982eb0926756747882 (patch) | |
| tree | 40761bf5145d55fb0c8239f492c44cd3a1f08cb1 /test/other/pbs.cpp.awk | |
| parent | 5c297e9939981a35b2782ff7b4f92859216fcca3 (diff) | |
more tests
Diffstat (limited to 'test/other/pbs.cpp.awk')
| -rw-r--r-- | test/other/pbs.cpp.awk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/other/pbs.cpp.awk b/test/other/pbs.cpp.awk new file mode 100644 index 0000000..3084ebd --- /dev/null +++ b/test/other/pbs.cpp.awk @@ -0,0 +1,8 @@ +BEGIN { print "vector<int> pbs(int Q, int MAX_OPERATIONS) {" } +{ + sub(/\/\* requirement already fulfilled \*\//, "test(i)") + sub(/\/\/ simulation step/, "do_step(step);") + sub(/\/\/ reset simulation/, "reset();") +} +{ print } +END { print "return high; }" } |
