All of these "for" loops would be a good candidate for a table driven test. 

e.g.

```go
{
  { ints, ints, true }, 
  { ints, ints2, false },
  { ints2, ints, false },
 ..
} 

.. code to run the table .. 
```