import pikitlib


class GetSet:

    def __init__(self, state):
        self.state = state

    def get(self):
        return self.state

    def set(self, state):
        self.state = state


def test_tankdrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0


def test_arcadedrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0

820c60172b539ea5287bbc581ee751c67775be25
<mask token>


class GetSet:
    <mask token>
    <mask token>

    def set(self, state):
        self.state = state


<mask token>

<mask token>


class GetSet:

    def __init__(self, state):
        self.state = state

    def get(self):
        return self.state

    def set(self, state):
        self.state = state


<mask token>


def test_arcadedrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0

<mask token>


class GetSet:

    def __init__(self, state):
        self.state = state

    def get(self):
        return self.state

    def set(self, state):
        self.state = state


def test_tankdrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0


def test_arcadedrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0

import pikitlib


class GetSet:

    def __init__(self, state):
        self.state = state

    def get(self):
        return self.state

    def set(self, state):
        self.state = state


def test_tankdrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0


def test_arcadedrive():
    left_motor = GetSet(0)
    right_motor = GetSet(0)
    drivetrain = pikitlib.DifferentialDrive(left_motor, right_motor)
    drivetrain.tankDrive(0.7, 0.7)
    assert left_motor.state > 0
    assert right_motor.state < 0
