public void adds_dot_separator_if_missing() { var baseClient = new MyStatsClient(); var scoped = baseClient.Scope("MyStats"); var send = new ActionSpy <Metric>(m => Check.That(() => m.Name.StartsWith("MyStats."))); baseClient.HandleSend = send; scoped.Send(new Metric("MyMetric", MetricValue.Gauge(1))); Check.That(() => send.HasBeenCalled); }
public void standard_values_are_ulongs() => Check.That(() => MetricValue.Gauge(42).BoxedBits() is ulong);