github.com/moov-io/imagecashletter@v0.10.1/cmd/readImageCashLetter/main_test.go (about)

     1  package main
     2  
     3  import "testing"
     4  
     5  func TestFileRead(t *testing.T) {
     6  	testFileRead(t)
     7  }
     8  
     9  /*//BenchmarkTestFileCreate benchmarks creating an ICL File
    10  func BenchmarkTestFileRead(b *testing.B) {
    11  	b.ReportAllocs()
    12  	for i := 0; i < b.N; i++ {
    13  		testFileRead(b)
    14  	}
    15  }*/
    16  
    17  // FileCreate creates an ICL File
    18  func testFileRead(t testing.TB) {
    19  	main()
    20  }