Created
August 14, 2012 13:13
-
-
Save iivvoo/3349141 to your computer and use it in GitHub Desktop.
opposite axes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_opposites(self): | |
""" "scores" may contain values for opposite attribute values - | |
make sure the winner wins """ | |
scores = {'Realistic': [8], | |
'Investigative': [7], | |
'Artistic': [6], | |
'Social': [2], | |
'Enterprising': [1], | |
'Conventional': [3]} | |
coords = get_coords(dict(all=scores)) | |
assert 'all' in coords | |
assert coords['all'].x == 8 | |
assert coords['all'].y == 7 | |
assert coords['all'].z == 6 | |
test_riasec_coords.py:201: in test_opposites | |
> assert coords['all'].x == 8 | |
E assert -2 == 8 | |
E + where -2 = Coord: -2 -1 6.x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment