Lines Matching refs:testing
67 func TestDepSet(t *testing.T) {
77 depSet func(t *testing.T, order DepSetOrder) *DepSet
82 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
91 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
100 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
110 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
111 assertEquals := func(t *testing.T, w, g Paths) {
136 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
146 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
162 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
172 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
185 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
199 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
213 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
228 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
240 depSet: func(t *testing.T, order DepSetOrder) *DepSet {
255 t.Run(tt.name, func(t *testing.T) {
256 t.Run("postorder", func(t *testing.T) {
262 t.Run("preorder", func(t *testing.T) {
268 t.Run("topological", func(t *testing.T) {
278 func TestDepSetInvalidOrder(t *testing.T) {
281 run := func(t *testing.T, order1, order2 DepSetOrder) {
296 t.Run(order1.String(), func(t *testing.T) {
298 t.Run(order2.String(), func(t *testing.T) {
308 func Test_firstUnique(t *testing.T) {
309 f := func(t *testing.T, imp func([]string) []string, in, want []string) {
321 t.Run("list", func(t *testing.T) {
326 t.Run("map", func(t *testing.T) {
334 func Benchmark_firstUnique(b *testing.B) {
368 f := func(b *testing.B, imp func([]string) []string, s []string) {
377 b.Run(strconv.Itoa(n), func(b *testing.B) {
379 b.Run(implementation.name, func(b *testing.B) {
380 b.Run("same", func(b *testing.B) {
383 b.Run("unique", func(b *testing.B) {