Files
rmcguire b2ec72352a
Build and Publish / go-binaries (push) Has been skipped
Build and Publish / container-images (push) Has been skipped
Build and Publish / helm-release (push) Successful in 19s
Build and Publish / check-chart (push) Successful in 52s
implement econet exporter
2026-07-04 17:22:31 -04:00

13 lines
230 B
Go

package econetmetrics
import "testing"
func TestB2I(t *testing.T) {
if got := b2i(true); got != 1 {
t.Errorf("b2i(true) = %d, want 1", got)
}
if got := b2i(false); got != 0 {
t.Errorf("b2i(false) = %d, want 0", got)
}
}