// Code generated by generator. DO NOT EDIT.

package b

import (
	"context"
	"testing"
)

// -----------------------------
// Free functions
// -----------------------------

func nonTestHelper(b int) {}

func helperWithoutHelper(b *testing.B) {} 

func helperWithHelper(b *testing.B) {
	b.Helper()
}

func helperWithEmptyStringBeforeHelper(b *testing.B) {

	b.Helper()
}

func helperWithHelperAfterAssignment(b *testing.B) { 
	_ = 0
	b.Helper()
}

func helperWithHelperAfterOtherCall(b *testing.B) { 
	ff()
	b.Helper()
}

func helperWithHelperAfterOtherSelectionCall(b *testing.B) { 
	b.Fail()
	b.Helper()
}

func helperParamNotFirst(s string, i int, b *testing.B) { 
	b.Helper()
}

func helperParamSecondWithoutContext(s string, b *testing.B, i int) { 
	b.Helper()
}

func helperParamSecondWithContext(ctx context.Context, b *testing.B) {
	b.Helper()
}

func helperWithIncorrectName(o *testing.B) { // want "parameter \\*testing.B should have name b"
	o.Helper()
}

func helperWithAnonymousHelper(b *testing.B) {
	b.Helper()
	func(b *testing.B) {}(b) 
}

func helperWithNoName(_ *testing.B) {
}

// -----------------------------
// Methods of helper type
type helperType struct{}
// -----------------------------

func (h helperType) nonTestHelper(b int) {}

func (h helperType) helperWithoutHelper(b *testing.B) {} 

func (h helperType) helperWithHelper(b *testing.B) {
	b.Helper()
}

func (h helperType) helperWithEmptyStringBeforeHelper(b *testing.B) {

	b.Helper()
}

func (h helperType) helperWithHelperAfterAssignment(b *testing.B) { 
	_ = 0
	b.Helper()
}

func (h helperType) helperWithHelperAfterOtherCall(b *testing.B) { 
	ff()
	b.Helper()
}

func (h helperType) helperWithHelperAfterOtherSelectionCall(b *testing.B) { 
	b.Fail()
	b.Helper()
}

func (h helperType) helperParamNotFirst(s string, i int, b *testing.B) { 
	b.Helper()
}

func (h helperType) helperParamSecondWithoutContext(s string, b *testing.B, i int) { 
	b.Helper()
}

func (h helperType) helperParamSecondWithContext(ctx context.Context, b *testing.B) {
	b.Helper()
}

func (h helperType) helperWithIncorrectName(o *testing.B) { // want "parameter \\*testing.B should have name b"
	o.Helper()
}

func (h helperType) helperWithAnonymousHelper(b *testing.B) {
	b.Helper()
	func(b *testing.B) {}(b) 
}

func (h helperType) helperWithNoName(_ *testing.B) {
}

func ff() {}
