Skip to content
Snippets Groups Projects
report1hints_stripped.py 467 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
    # example_hints/instructor/cs106/report1hints.py
    class Week1(UTestCase): 
        def test_find_all_primes(self):
            """
            Hints:
                * Insert a breakpoint and check what your function find_primes(4) actually outputs
            """
            self.assertEqual(find_primes(4), [2, 3], msg="The list should only contain primes <= 4")
    
    class Report1Hints(Report):
        title = "CS 106 Report 1"
        questions = [(Week1, 10)]
        pack_imports = [homework_hints]