(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestBitwiseMin(t *testing.T) { |
| 30 | tests := getTestCases() |
| 31 | for _, test := range tests { |
| 32 | t.Run(test.name, func(t *testing.T) { |
| 33 | result := Bitwise(test.base, 999, test.numbers...) |
| 34 | if result != test.min { |
| 35 | t.Errorf("Wrong result! Expected:%v, returned:%v ", test.min, result) |
| 36 | } |
| 37 | }) |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func TestMin(t *testing.T) { |
| 42 | for _, test := range getTestCases() { |
nothing calls this directly
no test coverage detected