Skip to content

Instantly share code, notes, and snippets.

import datetime
import unittest
from time import sleep
import solution
class TestSocialGraph(unittest.TestCase):
def setUp(self):
self.terry = solution.User("Terry Gilliam")
self.eric = solution.User("Eric Idle")
import unittest
from tic_tac_toe import (
Board, IllegalMoveError, WrongTurnError, ChangeMoveError,
GameEndError,
IN_PROGRESS, X_WON, O_WON, DRAW, X, O, EMPTY as E)
class TestBoard(unittest.TestCase):
def setUp(self):
import unittest
import solution
class Test_every_operator(unittest.TestCase):
def test_every_operator(self):
a = solution.create_variable('a')
b = solution.create_variable('b')
x = ((((5 // b) << (5 % b)) ** b) >> (((5 | b) - (5 & b)) ^ b))