Neural Network boolean tests