#NEWLINE# @ pytest . mark . parametrize ( 'Model, layers, target, score' , [ ( theanets . Regressor , u . REG_LAYERS , u . OUTPUTS , ( - 1.047304391860962 ) ) , ( theanets . Classifier , u . CLF_LAYERS , u . CLASSES , 0.171875 ) , ( theanets . Autoencoder , u . AE_LAYERS , u . INPUTS , 15.108331680297852 ) ] ) #NEWLINE# def test_score( Model , layers , target , score ) : #NEWLINE# #INDENT# assert ( Model ( layers ) . score ( u . INPUTS , target ) == score )