mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
b68a1bba9b
Just a cleanup pass
24 lines
389 B
C++
24 lines
389 B
C++
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
#include <assert.h>
|
|
|
|
#include "hist_source.hh"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
int retval = EXIT_SUCCESS;
|
|
hist_source hs;
|
|
|
|
assert(hs.text_line_count() == 0);
|
|
hs.analyze();
|
|
|
|
hs.add_value(1, bucket_type_t(1));
|
|
assert(hs.text_line_count() == 101);
|
|
|
|
hs.add_value(2, bucket_type_t(1));
|
|
assert(hs.text_line_count() == 101);
|
|
|
|
return retval;
|
|
} |