Ratio metabench tests split to individual operations

This commit is contained in:
Mateusz Pusz committed 2019-05-19 17:40:05 +02:00
1 parent 225696135c
commit 7caadfcd0d
10 files changed
+201 -13

No files matched your search

@@ -0,0 +1,15 @@
#include "std_ratio.h"
<% (1..n).each do |i| %>
struct test<%= i %> {
#if defined(METABENCH)
using r1 = std::ratio<<%= i %>, <%= n + 1 - i %>>;
using r2 = std::ratio<<%= n + 1 - i %>, <%= i %>>;
#endif
};
<% end %>
int main()
{
}