Documentation ¶
Overview ¶
package_test demonstrates various Go language features in the context of software testing
Index ¶
- func BenchmarkSample(b *testing.B)
- func ExampleTestCase_Run()
- func Max[T int | float64](a, b T) T
- func TestMain(m *testing.M)
- func TestSample(t *testing.T)
- type Block
- type ExtendedTestCase
- type GenericPair
- type Point
- type Polar
- type Rectangle
- type TestCase
- type TestError
- type TestFunction
- type TestPointer
- type Testable
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtendedTestCase ¶
type ExtendedTestCase struct { TestCase // contains filtered or unexported fields }
Embedded struct
type TestCase ¶
type TestCase struct { Name string `json:"name,omitempty" db:"name"` Input interface{} `json:"input" db:"input"` Expected interface{} `json:"expected" db:"expected"` // contains filtered or unexported fields }
Struct demonstration
Click to show internal directories.
Click to hide internal directories.