A simple bit of code in multiple languages that lets you calculate useful statistics without storing every sample.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <fmt/core.h>
|
|
#include <deque>
|
|
#include <string>
|
|
#include <fuc2/testing.hpp>
|
|
|
|
using namespace fuc2;
|
|
|
|
namespace stats_tests {
|
|
|
|
void test_stats_stuff() {
|
|
CHECK(1 == 1);
|
|
}
|
|
|
|
fuc2::Set TESTS{
|
|
.name="stats",
|
|
.tests={
|
|
TEST(test_stats_stuff),
|
|
}
|
|
};
|
|
}
|
|
|