/**
 * @file src/ice.c
 */

#include <stdio.h>

#ifndef NDEBUG
 #include "ice.h"

ic_t ic_conf = {
  .enable = true,
  .context = false,
  .prefix = nullptr,
  .fp = nullptr,
};

 #include "chore.h"
 #include "testing.h"
test (ice) {
  expect(true);

  test_filter("all") {
    putchar('\n');
    ic(0);
    ic_conf.enable = false;
    ic();
    ic_conf.enable = true;
    _ = ic(42);
    ic_conf.context = true;
    ic("hello world!");
    ic();
  }
}
#endif