blob: 6431e47b03df67dd2fb376a3546035ddd7380f30 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package checklicenses
import (
"testing"
)
func TestMetricsInit(t *testing.T) {
metrics := NewMetrics()
num_values := len(metrics.values)
num_order := len(metrics.order)
want := 0
if num_values == want {
t.Errorf("%v(): got %v, want %v", t.Name(), num_values, want)
}
if num_values != num_order {
t.Errorf("%v(): got %v, want %v", t.Name(), num_values, num_order)
}
}