given( $x = 'GATAA', $y = 'CAGATAAGAGAA', $k = 1 ) ->when($result = LUT\Search::approximated($y, $x, $k)) ->then ->array($result) ->isEqualTo([ 0 => [ 'i' => 1, 'j' => 6, 'l' => 5 ], 1 => [ 'i' => 2, 'j' => 7, 'l' => 5 ], 2 => [ 'i' => 3, 'j' => 8, 'l' => 5 ], 3 => [ 'i' => 7, 'j' => 12, 'l' => 5 ] ]); } }