Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/w/e/websocket_cardgames-HEAD/kaibosh/test.py   websocket_cardgames(Download)
        assert g.high_bid == (p3, 4)
        assert g.state == 'name_trump'
        p3.name_trump(Suits['Hearts'])
        assert g.score == [{'bidder': p3, 'bid': 4, 'trump': Suits['Hearts'], 'made_it': None, 'scores': ['-', '-']}]
        assert g.state == 'play_card'
        assert g.state == 'name_trump'
        assert g.next_player == p3
        p3.name_trump(Suits['Diamonds'])
        for _ in xrange(6):
            p3.play_card(jack_of_diamonds)