mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-10 11:28:03 +00:00
Renamed HackerRank and TopCoder section to Online Judges.
This commit is contained in:
15
online_judges/maximizing_xor/test_maximizing_xor.py
Normal file
15
online_judges/maximizing_xor/test_maximizing_xor.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from nose.tools import assert_equal
|
||||
|
||||
|
||||
class TestMaximingXor(object):
|
||||
|
||||
def test_maximizing_xor(self):
|
||||
assert_equal(max_xor(10, 15), 7)
|
||||
print('Success: test_maximizing_xor')
|
||||
|
||||
def main():
|
||||
test = TestMaximingXor()
|
||||
test.test_maximizing_xor()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user