#################################################
# collab5.py
#
# Your name:
# Your andrew id:
#################################################

import cs112_m20_unit5_linter
import copy

#################################################
# Helper functions
#################################################

def almostEqual(d1, d2, epsilon=10**-7):
    # note: use math.isclose() outside 15-112 with Python version 3.5 or later
    return (abs(d2 - d1) < epsilon)

import decimal
def roundHalfUp(d):
    # Round to nearest with ties going away from zero.
    rounding = decimal.ROUND_HALF_UP
    # See other rounding options here:
    # https://docs.python.org/3/library/decimal.html#rounding-modes
    return int(decimal.Decimal(d).to_integral_value(rounding=rounding))

#################################################
# Functions for you to write
#################################################

def areLegalValues(values):
    return 42

def isKingsTour(board):
    return 42

#################################################
# Test Functions
#################################################

def testAreLegalValues():
    print("Testing areLegalValues...")
    # Your tests here!
    assert(42 == 42)
    print("Passed!")

def testIsKingsTour():
    print("Testing isKingsTour...")
    # Your tests here!
    assert(42 == 42)
    print("Passed!")

#################################################
# testAll and main
#################################################

def testAll():
    testAreLegalValues()
    testIsKingsTour()

def main():
    cs112_m20_unit5_linter.lint()
    testAll()

if __name__ == "__main__":
    main()
