Conditions | 1 |
Total Lines | 27 |
Code Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package internal |
||
30 | func getSomeTestData() map[string]struct { |
||
31 | inputValue1 interface{} |
||
32 | inputValue2 interface{} |
||
33 | output bool |
||
34 | err error |
||
35 | } { |
||
36 | |||
37 | testData := map[string]struct { |
||
38 | inputValue1 interface{} |
||
39 | inputValue2 interface{} |
||
40 | output bool |
||
41 | err error |
||
42 | }{ |
||
43 | "every_int": { |
||
44 | inputValue1: []int64{-100, -5, 30, 100}, |
||
45 | inputValue2: -100, |
||
46 | output: true, |
||
47 | err: nil, |
||
48 | }, |
||
49 | "every_int2": { |
||
50 | inputValue1: []int64{-100, -100, -100}, |
||
51 | inputValue2: 100, |
||
52 | output: false, |
||
53 | err: nil, |
||
54 | }, |
||
55 | } |
||
56 | return testData |
||
57 | } |
||
58 |