#NEWLINE# def test_filter_expression( self ) : #NEWLINE# #INDENT# query = '\n        OUTPUT(a, b, c) :- {emp}(a, b, c, d), d >= 25000, d < 91000\n        ' . format ( emp = self . emp_key ) #NEWLINE# expected = collections . Counter ( [ ( a , b , c ) for ( a , b , c , d ) in self . emp_table if ( ( d >= 25000 ) and ( d < 91000 ) ) ] ) #NEWLINE# self . check_result ( query , expected )