aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/compressor/compressor.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/compressor/compressor.go')
-rw-r--r--tests/unit/compressor/compressor.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/unit/compressor/compressor.go b/tests/unit/compressor/compressor.go
index 3b760ce..cac6158 100644
--- a/tests/unit/compressor/compressor.go
+++ b/tests/unit/compressor/compressor.go
@@ -2,9 +2,13 @@ package compressor
import (
"fmt"
+ "os"
"testing"
+ "testing/internal/testdeps"
)
+
+
func TestCompressor_Compress(t *testing.T) {
x := 0 // an empty value
@@ -121,5 +125,17 @@ func TestCompressor_Compress(t *testing.T) {
}
}
+
+
func MainTest() {
+ tests := []testing.InternalTest{
+ { "TestCompressor_Compress", TestCompressor_Compress },
+ }
+
+ deps := testdeps.TestDeps{}
+ benchmarks := []testing.InternalBenchmark {}
+ fuzzTargets := []testing.InternalFuzzTarget{}
+ examples := []testing.InternalExample {}
+ m := testing.MainStart(deps, tests, benchmarks, fuzzTargets, examples)
+ os.Exit(m.Run())
}