[{"data":1,"prerenderedAt":10186},["ShallowReactive",2],{"tutorials-python-how-to":3,"category-items-python-how-to":600,"content-/python-how-to/write-unit-tests":601},[4,22,31,40,49,58,67,76,86,94,103,112,121,130,139,148,158,167,176,185,194,203,212,222,231,240,249,258,267,276,285,297,306,315,324,333,342,351,362,371,380,389,398,407,418,427,436,445,454,463,472,483,492,501,510,519,528,539,548,557,566,575,584,593],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python-how-to/string-manipulation","python-how-to",false,"","String Manipulation","Learn essential string manipulation techniques in Python","string-manipulation",1,true,"pi pi-folder","markdown","content:python-how-to:1.string-manipulation.md","content","python-how-to/1.string-manipulation.md","python-how-to/1.string-manipulation","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python-how-to/split-join-strings","Split and Join Strings","Learn how to split strings into lists and join lists back into strings in Python","split-join-strings",2,"content:python-how-to:2.split-join-strings.md","python-how-to/2.split-join-strings.md","python-how-to/2.split-join-strings",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python-how-to/remove-whitespace","Remove Whitespace","Learn how to clean up and remove unwanted whitespace from strings in Python","remove-whitespace",3,"content:python-how-to:3.remove-whitespace.md","python-how-to/3.remove-whitespace.md","python-how-to/3.remove-whitespace",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python-how-to/find-replace-text","Find and Replace Text","Learn how to search for and replace text within strings in Python","find-replace-text",4,"content:python-how-to:4.find-replace-text.md","python-how-to/4.find-replace-text.md","python-how-to/4.find-replace-text",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python-how-to/check-string-content","Check String Content","Learn how to validate and check the content of strings in Python","check-string-content",5,"content:python-how-to:5.check-string-content.md","python-how-to/5.check-string-content.md","python-how-to/5.check-string-content",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python-how-to/format-strings","Format Strings","Learn how to format strings in Python using f-strings and format() method","format-strings",6,"content:python-how-to:6.format-strings.md","python-how-to/6.format-strings.md","python-how-to/6.format-strings",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python-how-to/unicode-special-chars","Handle Unicode and Special Characters","Learn how to work with Unicode and special characters in Python strings","unicode-special-chars",7,"content:python-how-to:7.unicode-special-chars.md","python-how-to/7.unicode-special-chars.md","python-how-to/7.unicode-special-chars",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python-how-to/list-operations","List Operations","Learn essential operations for working with lists in Python","list-operations",8,"content:python-how-to:8.list-operations.md","python-how-to/8.list-operations.md","python-how-to/8.list-operations",[86,94,103,112,121,130,139],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":81,"_type":15,"_id":91,"_source":17,"_file":92,"_stem":93,"_extension":20},"/python-how-to/sort-lists","Sort Lists","Learn how to sort lists in Python using different methods and custom sorting","sort-lists","content:python-how-to:9.sort-lists.md","python-how-to/9.sort-lists.md","python-how-to/9.sort-lists",{"_path":95,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":96,"description":97,"slug":98,"parentId":77,"order":99,"_type":15,"_id":100,"_source":17,"_file":101,"_stem":102,"_extension":20},"/python-how-to/remove-duplicates","Remove Duplicates","Learn how to remove duplicate elements from lists in Python","remove-duplicates",10,"content:python-how-to:10.remove-duplicates.md","python-how-to/10.remove-duplicates.md","python-how-to/10.remove-duplicates",{"_path":104,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":105,"description":106,"slug":107,"parentId":77,"order":108,"_type":15,"_id":109,"_source":17,"_file":110,"_stem":111,"_extension":20},"/python-how-to/filter-lists","Filter Lists","Learn how to filter lists in Python using different methods","filter-lists",11,"content:python-how-to:11.filter-lists.md","python-how-to/11.filter-lists.md","python-how-to/11.filter-lists",{"_path":113,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":114,"description":115,"slug":116,"parentId":77,"order":117,"_type":15,"_id":118,"_source":17,"_file":119,"_stem":120,"_extension":20},"/python-how-to/combine-lists","Combine Lists","Learn different methods to combine lists in Python","combine-lists",12,"content:python-how-to:12.combine-lists.md","python-how-to/12.combine-lists.md","python-how-to/12.combine-lists",{"_path":122,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":123,"description":124,"slug":125,"parentId":77,"order":126,"_type":15,"_id":127,"_source":17,"_file":128,"_stem":129,"_extension":20},"/python-how-to/list-comprehensions","Use List Comprehensions","Learn how to create and transform lists efficiently using Python's list comprehension syntax","list-comprehensions",13,"content:python-how-to:13.list-comprehensions.md","python-how-to/13.list-comprehensions.md","python-how-to/13.list-comprehensions",{"_path":131,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":132,"description":133,"slug":134,"parentId":77,"order":135,"_type":15,"_id":136,"_source":17,"_file":137,"_stem":138,"_extension":20},"/python-how-to/nested-lists","Work with Nested Lists","Learn how to work with nested lists (2D arrays) in Python","nested-lists",14,"content:python-how-to:14.nested-lists.md","python-how-to/14.nested-lists.md","python-how-to/14.nested-lists",{"_path":140,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":141,"description":142,"slug":143,"parentId":77,"order":144,"_type":15,"_id":145,"_source":17,"_file":146,"_stem":147,"_extension":20},"/python-how-to/enumerate-zip","Use enumerate() and zip()","Learn how to use enumerate() and zip() for efficient iteration in Python","enumerate-zip",15,"content:python-how-to:15.enumerate-zip.md","python-how-to/15.enumerate-zip.md","python-how-to/15.enumerate-zip",{"_path":149,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":150,"description":151,"slug":152,"order":153,"isParent":13,"icon":14,"_type":15,"_id":154,"_source":17,"_file":155,"_stem":156,"_extension":20,"children":157,"expanded":13},"/python-how-to/dictionary-operations","Dictionary Operations","Learn essential operations for working with dictionaries in Python","dictionary-operations",16,"content:python-how-to:16.dictionary-operations.md","python-how-to/16.dictionary-operations.md","python-how-to/16.dictionary-operations",[158,167,176,185,194,203],{"_path":159,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":160,"description":161,"slug":162,"parentId":149,"order":163,"_type":15,"_id":164,"_source":17,"_file":165,"_stem":166,"_extension":20},"/python-how-to/merge-dictionaries","Merge Dictionaries","Learn different methods to merge dictionaries in Python","merge-dictionaries",17,"content:python-how-to:17.merge-dictionaries.md","python-how-to/17.merge-dictionaries.md","python-how-to/17.merge-dictionaries",{"_path":168,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":169,"description":170,"slug":171,"parentId":149,"order":172,"_type":15,"_id":173,"_source":17,"_file":174,"_stem":175,"_extension":20},"/python-how-to/sort-dictionaries","Sort Dictionaries","Learn how to sort dictionaries by keys or values in Python","sort-dictionaries",18,"content:python-how-to:18.sort-dictionaries.md","python-how-to/18.sort-dictionaries.md","python-how-to/18.sort-dictionaries",{"_path":177,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":178,"description":179,"slug":180,"parentId":149,"order":181,"_type":15,"_id":182,"_source":17,"_file":183,"_stem":184,"_extension":20},"/python-how-to/filter-dictionaries","Filter Dictionaries","Learn how to filter dictionaries based on keys or values in Python","filter-dictionaries",19,"content:python-how-to:19.filter-dictionaries.md","python-how-to/19.filter-dictionaries.md","python-how-to/19.filter-dictionaries",{"_path":186,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":187,"description":188,"slug":189,"parentId":149,"order":190,"_type":15,"_id":191,"_source":17,"_file":192,"_stem":193,"_extension":20},"/python-how-to/handle-missing-keys","Handle Missing Keys","Learn safe ways to access dictionary keys and handle missing values","handle-missing-keys",20,"content:python-how-to:20.handle-missing-keys.md","python-how-to/20.handle-missing-keys.md","python-how-to/20.handle-missing-keys",{"_path":195,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":196,"description":197,"slug":198,"parentId":149,"order":199,"_type":15,"_id":200,"_source":17,"_file":201,"_stem":202,"_extension":20},"/python-how-to/dictionary-comprehensions","Use Dictionary Comprehensions","Learn how to create dictionaries efficiently using comprehensions","dictionary-comprehensions",21,"content:python-how-to:21.dictionary-comprehensions.md","python-how-to/21.dictionary-comprehensions.md","python-how-to/21.dictionary-comprehensions",{"_path":204,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":205,"description":206,"slug":207,"parentId":149,"order":208,"_type":15,"_id":209,"_source":17,"_file":210,"_stem":211,"_extension":20},"/python-how-to/convert-lists-dictionaries","Convert Between Lists and Dictionaries","Learn how to transform data between lists and dictionaries in Python","convert-lists-dictionaries",22,"content:python-how-to:22.convert-lists-dictionaries.md","python-how-to/22.convert-lists-dictionaries.md","python-how-to/22.convert-lists-dictionaries",{"_path":213,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":214,"description":215,"slug":216,"order":217,"isParent":13,"icon":14,"_type":15,"_id":218,"_source":17,"_file":219,"_stem":220,"_extension":20,"children":221,"expanded":13},"/python-how-to/file-operations","File Operations","Learn essential file operations in Python for reading, writing, and managing files","file-operations",23,"content:python-how-to:23.file-operations.md","python-how-to/23.file-operations.md","python-how-to/23.file-operations",[222,231,240,249,258,267,276],{"_path":223,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":224,"description":225,"slug":226,"parentId":213,"order":227,"_type":15,"_id":228,"_source":17,"_file":229,"_stem":230,"_extension":20},"/python-how-to/read-text-files","Read Text Files","Learn how to read text files in Python using different methods","read-text-files",24,"content:python-how-to:24.read-text-files.md","python-how-to/24.read-text-files.md","python-how-to/24.read-text-files",{"_path":232,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":233,"description":234,"slug":235,"parentId":213,"order":236,"_type":15,"_id":237,"_source":17,"_file":238,"_stem":239,"_extension":20},"/python-how-to/write-to-files","Write to Files","Learn how to write and create files in Python using different methods","write-to-files",25,"content:python-how-to:25.write-to-files.md","python-how-to/25.write-to-files.md","python-how-to/25.write-to-files",{"_path":241,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":242,"description":243,"slug":244,"parentId":213,"order":245,"_type":15,"_id":246,"_source":17,"_file":247,"_stem":248,"_extension":20},"/python-how-to/work-csv-files","Work with CSV Files","Learn how to read and write CSV files in Python using the csv module","work-csv-files",26,"content:python-how-to:26.work-csv-files.md","python-how-to/26.work-csv-files.md","python-how-to/26.work-csv-files",{"_path":250,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":251,"description":252,"slug":253,"parentId":213,"order":254,"_type":15,"_id":255,"_source":17,"_file":256,"_stem":257,"_extension":20},"/python-how-to/handle-file-paths","Handle File Paths","Learn how to work with file and directory paths in Python using pathlib and os modules","handle-file-paths",27,"content:python-how-to:27.handle-file-paths.md","python-how-to/27.handle-file-paths.md","python-how-to/27.handle-file-paths",{"_path":259,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":260,"description":261,"slug":262,"parentId":213,"order":263,"_type":15,"_id":264,"_source":17,"_file":265,"_stem":266,"_extension":20},"/python-how-to/work-json-files","Work with JSON Files","Learn how to read and write JSON files in Python using the json module","work-json-files",28,"content:python-how-to:28.work-json-files.md","python-how-to/28.work-json-files.md","python-how-to/28.work-json-files",{"_path":268,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":269,"description":270,"slug":271,"parentId":213,"order":272,"_type":15,"_id":273,"_source":17,"_file":274,"_stem":275,"_extension":20},"/python-how-to/handle-binary-files","Handle Binary Files","Learn how to work with binary files in Python for images, data, and other non-text content","handle-binary-files",29,"content:python-how-to:29.handle-binary-files.md","python-how-to/29.handle-binary-files.md","python-how-to/29.handle-binary-files",{"_path":277,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":278,"description":279,"slug":280,"parentId":213,"order":281,"_type":15,"_id":282,"_source":17,"_file":283,"_stem":284,"_extension":20},"/python-how-to/use-context-managers","Use Context Managers","Learn how to use context managers for safe resource handling in Python","use-context-managers",30,"content:python-how-to:30.use-context-managers.md","python-how-to/30.use-context-managers.md","python-how-to/30.use-context-managers",{"_path":286,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":287,"description":288,"slug":289,"parentId":290,"order":291,"isParent":13,"icon":292,"_type":15,"_id":293,"_source":17,"_file":294,"_stem":295,"_extension":20,"children":296,"expanded":13},"/python-how-to/date-and-time","Date and Time","Master Python's date and time handling with datetime, time zones, formatting, and calculations","date-and-time","/python-how-to",31,"pi pi-calendar","content:python-how-to:31.date-and-time.md","python-how-to/31.date-and-time.md","python-how-to/31.date-and-time",[297,306,315,324,333,342],{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":286,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python-how-to/get-current-datetime","Get Current Date/Time","Learn how to get current date, time, and timestamps using Python's datetime module","get-current-datetime",32,"content:python-how-to:32.get-current-datetime.md","python-how-to/32.get-current-datetime.md","python-how-to/32.get-current-datetime",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":286,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python-how-to/format-dates","Format Dates","Master date formatting with strftime, custom formats, and locale-aware formatting for user-friendly displays","format-dates",33,"content:python-how-to:33.format-dates.md","python-how-to/33.format-dates.md","python-how-to/33.format-dates",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":286,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python-how-to/calculate-date-differences","Calculate Date Differences","Learn to calculate time differences, durations, and intervals using Python's timedelta for scheduling and analytics","calculate-date-differences",34,"content:python-how-to:34.calculate-date-differences.md","python-how-to/34.calculate-date-differences.md","python-how-to/34.calculate-date-differences",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":286,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python-how-to/parse-date-strings","Parse Date Strings","Convert text dates into Python datetime objects using strptime, handle multiple formats, and validate date input","parse-date-strings",35,"content:python-how-to:35.parse-date-strings.md","python-how-to/35.parse-date-strings.md","python-how-to/35.parse-date-strings",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":286,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python-how-to/handle-timezones","Handle Timezones","Master timezone handling with zoneinfo, UTC conversions, and timezone-aware datetime objects for global applications","handle-timezones",36,"content:python-how-to:36.handle-timezones.md","python-how-to/36.handle-timezones.md","python-how-to/36.handle-timezones",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":286,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python-how-to/work-with-timestamps","Work with Timestamps","Master Unix timestamps in Python - convert between datetime objects and timestamps for APIs, databases, and system integration","work-with-timestamps",37,"content:python-how-to:37.work-with-timestamps.md","python-how-to/37.work-with-timestamps.md","python-how-to/37.work-with-timestamps",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":290,"order":356,"isParent":13,"icon":357,"_type":15,"_id":358,"_source":17,"_file":359,"_stem":360,"_extension":20,"children":361,"expanded":13},"/python-how-to/error-handling","Error Handling","Learn Python's error handling with try/except, custom exceptions, debugging, logging, and retry logic for robust applications","error-handling",38,"pi pi-exclamation-triangle","content:python-how-to:38.error-handling.md","python-how-to/38.error-handling.md","python-how-to/38.error-handling",[362,371,380,389,398],{"_path":363,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":364,"description":365,"slug":366,"parentId":352,"order":367,"_type":15,"_id":368,"_source":17,"_file":369,"_stem":370,"_extension":20},"/python-how-to/handle-exceptions","Handle Exceptions","Master try/except blocks, multiple exception handling, and finally clauses for robust error handling in Python","handle-exceptions",39,"content:python-how-to:39.handle-exceptions.md","python-how-to/39.handle-exceptions.md","python-how-to/39.handle-exceptions",{"_path":372,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":373,"description":374,"slug":375,"parentId":352,"order":376,"_type":15,"_id":377,"_source":17,"_file":378,"_stem":379,"_extension":20},"/python-how-to/create-custom-exceptions","Create Custom Exceptions","Learn to create custom exception classes in Python for specific error handling and better code organization","create-custom-exceptions",40,"content:python-how-to:40.create-custom-exceptions.md","python-how-to/40.create-custom-exceptions.md","python-how-to/40.create-custom-exceptions",{"_path":381,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":382,"description":383,"slug":384,"parentId":352,"order":385,"_type":15,"_id":386,"_source":17,"_file":387,"_stem":388,"_extension":20},"/python-how-to/debug-code","Debug Code","Learn Python debugging techniques using print statements, the debugger, and tools to find and fix code issues","debug-code",41,"content:python-how-to:41.debug-code.md","python-how-to/41.debug-code.md","python-how-to/41.debug-code",{"_path":390,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":391,"description":392,"slug":393,"parentId":352,"order":394,"_type":15,"_id":395,"_source":17,"_file":396,"_stem":397,"_extension":20},"/python-how-to/use-logging","Use Logging","Learn Python's logging module for tracking application behavior, errors, and debugging information","use-logging",42,"content:python-how-to:42.use-logging.md","python-how-to/42.use-logging.md","python-how-to/42.use-logging",{"_path":399,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":400,"description":401,"slug":402,"parentId":352,"order":403,"_type":15,"_id":404,"_source":17,"_file":405,"_stem":406,"_extension":20},"/python-how-to/implement-retry-logic","Implement Retry Logic","Learn to implement retry mechanisms in Python for handling temporary failures and building resilient applications","implement-retry-logic",43,"content:python-how-to:43.implement-retry-logic.md","python-how-to/43.implement-retry-logic.md","python-how-to/43.implement-retry-logic",{"_path":408,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":409,"description":410,"slug":411,"parentId":290,"order":412,"isParent":13,"icon":413,"_type":15,"_id":414,"_source":17,"_file":415,"_stem":416,"_extension":20,"children":417,"expanded":13},"/python-how-to/functions-and-modules","Functions and Modules","Learn Python functions, modules, and code organization for building reusable, maintainable applications","functions-and-modules",44,"pi pi-box","content:python-how-to:44.functions-and-modules.md","python-how-to/44.functions-and-modules.md","python-how-to/44.functions-and-modules",[418,427,436,445,454,463],{"_path":419,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":420,"description":421,"slug":422,"parentId":408,"order":423,"_type":15,"_id":424,"_source":17,"_file":425,"_stem":426,"_extension":20},"/python-how-to/write-functions","Write Functions","Learn to create Python functions with parameters, return values, and documentation for reusable code","write-functions",45,"content:python-how-to:45.write-functions.md","python-how-to/45.write-functions.md","python-how-to/45.write-functions",{"_path":428,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":429,"description":430,"slug":431,"parentId":408,"order":432,"_type":15,"_id":433,"_source":17,"_file":434,"_stem":435,"_extension":20},"/python-how-to/use-args-kwargs","Use *args and **kwargs","Learn to use *args and **kwargs for flexible function arguments in Python","use-args-kwargs",46,"content:python-how-to:46.use-args-kwargs.md","python-how-to/46.use-args-kwargs.md","python-how-to/46.use-args-kwargs",{"_path":437,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":438,"description":439,"slug":440,"parentId":408,"order":441,"_type":15,"_id":442,"_source":17,"_file":443,"_stem":444,"_extension":20},"/python-how-to/create-decorators","Create Decorators","Learn to create and use Python decorators to enhance function behavior and add functionality","create-decorators",47,"content:python-how-to:47.create-decorators.md","python-how-to/47.create-decorators.md","python-how-to/47.create-decorators",{"_path":446,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":447,"description":448,"slug":449,"parentId":408,"order":450,"_type":15,"_id":451,"_source":17,"_file":452,"_stem":453,"_extension":20},"/python-how-to/use-generators","Use Generators","Learn to create memory-efficient generators with yield for processing large datasets and sequences","use-generators",48,"content:python-how-to:48.use-generators.md","python-how-to/48.use-generators.md","python-how-to/48.use-generators",{"_path":455,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":456,"description":457,"slug":458,"parentId":408,"order":459,"_type":15,"_id":460,"_source":17,"_file":461,"_stem":462,"_extension":20},"/python-how-to/work-modules-packages","Work with Modules and Packages","Learn to organize Python code with modules and packages, and use imports effectively","work-modules-packages",49,"content:python-how-to:49.work-modules-packages.md","python-how-to/49.work-modules-packages.md","python-how-to/49.work-modules-packages",{"_path":464,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":465,"description":466,"slug":467,"parentId":408,"order":468,"_type":15,"_id":469,"_source":17,"_file":470,"_stem":471,"_extension":20},"/python-how-to/create-virtual-environments","Create Virtual Environments","Learn to create and manage Python virtual environments for project dependency isolation","create-virtual-environments",50,"content:python-how-to:50.create-virtual-environments.md","python-how-to/50.create-virtual-environments.md","python-how-to/50.create-virtual-environments",{"_path":473,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":474,"description":475,"slug":476,"parentId":290,"order":477,"isParent":13,"icon":478,"_type":15,"_id":479,"_source":17,"_file":480,"_stem":481,"_extension":20,"children":482,"expanded":13},"/python-how-to/data-processing","Data Processing","Learn Python data processing techniques including regex, APIs, databases, and large file handling","data-processing",51,"pi pi-database","content:python-how-to:51.data-processing.md","python-how-to/51.data-processing.md","python-how-to/51.data-processing",[483,492,501,510,519],{"_path":484,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":485,"description":486,"slug":487,"parentId":473,"order":488,"_type":15,"_id":489,"_source":17,"_file":490,"_stem":491,"_extension":20},"/python-how-to/work-regular-expressions","Work with Regular Expressions","Learn to use Python's re module for pattern matching, text extraction, and data validation","work-regular-expressions",52,"content:python-how-to:52.work-regular-expressions.md","python-how-to/52.work-regular-expressions.md","python-how-to/52.work-regular-expressions",{"_path":493,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":494,"description":495,"slug":496,"parentId":473,"order":497,"_type":15,"_id":498,"_source":17,"_file":499,"_stem":500,"_extension":20},"/python-how-to/parse-xml-html","Parse XML and HTML","Learn to extract data from XML and HTML documents using Python's built-in parsing tools","parse-xml-html",53,"content:python-how-to:53.parse-xml-html.md","python-how-to/53.parse-xml-html.md","python-how-to/53.parse-xml-html",{"_path":502,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":503,"description":504,"slug":505,"parentId":473,"order":506,"_type":15,"_id":507,"_source":17,"_file":508,"_stem":509,"_extension":20},"/python-how-to/handle-api-requests","Handle API Requests","Learn to fetch and process data from web APIs using Python's urllib and external requests library","handle-api-requests",54,"content:python-how-to:54.handle-api-requests.md","python-how-to/54.handle-api-requests.md","python-how-to/54.handle-api-requests",{"_path":511,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":512,"description":513,"slug":514,"parentId":473,"order":515,"_type":15,"_id":516,"_source":17,"_file":517,"_stem":518,"_extension":20},"/python-how-to/work-databases","Work with Databases","Learn to connect to and query SQL databases using Python's sqlite3 and database techniques","work-databases",55,"content:python-how-to:55.work-databases.md","python-how-to/55.work-databases.md","python-how-to/55.work-databases",{"_path":520,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":521,"description":522,"slug":523,"parentId":473,"order":524,"_type":15,"_id":525,"_source":17,"_file":526,"_stem":527,"_extension":20},"/python-how-to/process-large-files","Process Large Files","Learn memory-efficient techniques for handling large files and datasets in Python","process-large-files",56,"content:python-how-to:56.process-large-files.md","python-how-to/56.process-large-files.md","python-how-to/56.process-large-files",{"_path":529,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":530,"description":531,"slug":532,"parentId":290,"order":533,"isParent":13,"icon":534,"_type":15,"_id":535,"_source":17,"_file":536,"_stem":537,"_extension":20,"children":538,"expanded":13},"/python-how-to/best-practices","Best Practices","Learn Python best practices for writing clean, maintainable, and efficient code","best-practices",57,"pi pi-star","content:python-how-to:57.best-practices.md","python-how-to/57.best-practices.md","python-how-to/57.best-practices",[539,548,557,566,575,584],{"_path":540,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":541,"description":542,"slug":543,"parentId":529,"order":544,"_type":15,"_id":545,"_source":17,"_file":546,"_stem":547,"_extension":20},"/python-how-to/structure-code","Structure Your Code","Learn to organize Python code with proper module structure, functions, and classes","structure-code",58,"content:python-how-to:58.structure-code.md","python-how-to/58.structure-code.md","python-how-to/58.structure-code",{"_path":549,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":550,"description":551,"slug":552,"parentId":529,"order":553,"_type":15,"_id":554,"_source":17,"_file":555,"_stem":556,"_extension":20},"/python-how-to/write-clean-code","Write Clean Code","Learn to write readable, maintainable Python code with proper naming, comments, and clear logic","write-clean-code",59,"content:python-how-to:59.write-clean-code.md","python-how-to/59.write-clean-code.md","python-how-to/59.write-clean-code",{"_path":558,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":559,"description":560,"slug":561,"parentId":529,"order":562,"_type":15,"_id":563,"_source":17,"_file":564,"_stem":565,"_extension":20},"/python-how-to/optimize-performance","Optimize Performance","Learn to identify and fix performance bottlenecks in Python code for faster execution","optimize-performance",60,"content:python-how-to:60.optimize-performance.md","python-how-to/60.optimize-performance.md","python-how-to/60.optimize-performance",{"_path":567,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":568,"description":569,"slug":570,"parentId":529,"order":571,"_type":15,"_id":572,"_source":17,"_file":573,"_stem":574,"_extension":20},"/python-how-to/write-unit-tests","Write Unit Tests","Learn to create reliable unit tests to verify your Python code works correctly and catch bugs early","write-unit-tests",61,"content:python-how-to:61.write-unit-tests.md","python-how-to/61.write-unit-tests.md","python-how-to/61.write-unit-tests",{"_path":576,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":577,"description":578,"slug":579,"parentId":529,"order":580,"_type":15,"_id":581,"_source":17,"_file":582,"_stem":583,"_extension":20},"/python-how-to/document-code","Document Your Code","Learn to write clear documentation and helpful comments for your Python code","document-code",62,"content:python-how-to:62.document-code.md","python-how-to/62.document-code.md","python-how-to/62.document-code",{"_path":585,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":586,"description":587,"slug":588,"parentId":529,"order":589,"_type":15,"_id":590,"_source":17,"_file":591,"_stem":592,"_extension":20},"/python-how-to/use-type-hints","Use Type Hints","Learn to add type annotations to Python code for better clarity, tooling support, and error detection","use-type-hints",63,"content:python-how-to:63.use-type-hints.md","python-how-to/63.use-type-hints.md","python-how-to/63.use-type-hints",{"_path":290,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":594,"description":595,"slug":6,"order":596,"icon":14,"_type":15,"_id":597,"_source":17,"_file":598,"_stem":599,"_extension":20,"expanded":13},"Python How-To Guide","Practical Python tutorials for common programming tasks. Learn step-by-step solutions for string manipulation, file operations, data processing, and more with real-world examples.",0,"content:python-how-to:index.md","python-how-to/index.md","python-how-to/index",[566],{"_path":567,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":568,"description":569,"slug":570,"parentId":529,"order":571,"body":602,"_type":15,"_id":572,"_source":17,"_file":573,"_stem":574,"_extension":20},{"type":603,"children":604,"toc":10174},"root",[605,613,619,1942,1949,1954,2098,2105,4068,4074,6942,6948,7119,7125,7131,9976,9982,10143,10149,10154,10168],{"type":606,"tag":607,"props":608,"children":609},"element","h1",{"id":570},[610],{"type":611,"value":612},"text","🧪 Write Unit Tests",{"type":606,"tag":614,"props":615,"children":616},"p",{},[617],{"type":611,"value":618},"Unit tests verify that individual parts of your code work correctly. They help catch bugs early, make refactoring safer, and serve as documentation for how your code should behave. Good tests give you confidence in your code.",{"type":606,"tag":620,"props":621,"children":622},"code-try",{},[623],{"type":606,"tag":624,"props":625,"children":629},"pre",{"className":626,"code":627,"language":628,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","import unittest\n\n# Example code to test\ndef calculate_area(length, width):\n    \"\"\"Calculate the area of a rectangle.\"\"\"\n    if length \u003C 0 or width \u003C 0:\n        raise ValueError(\"Dimensions must be positive\")\n    return length * width\n\ndef is_even(number):\n    \"\"\"Check if a number is even.\"\"\"\n    return number % 2 == 0\n\ndef format_name(first_name, last_name):\n    \"\"\"Format a full name properly.\"\"\"\n    if not first_name or not last_name:\n        raise ValueError(\"Both first and last name required\")\n    return f\"{first_name.strip().title()} {last_name.strip().title()}\"\n\n# Unit tests for the functions\nclass TestCalculations(unittest.TestCase):\n    \"\"\"Test mathematical calculations.\"\"\"\n    \n    def test_calculate_area_positive_numbers(self):\n        \"\"\"Test area calculation with positive numbers.\"\"\"\n        result = calculate_area(5, 3)\n        self.assertEqual(result, 15)\n    \n    def test_calculate_area_zero(self):\n        \"\"\"Test area calculation with zero.\"\"\"\n        result = calculate_area(0, 5)\n        self.assertEqual(result, 0)\n    \n    def test_calculate_area_negative_raises_error(self):\n        \"\"\"Test that negative dimensions raise an error.\"\"\"\n        with self.assertRaises(ValueError):\n            calculate_area(-5, 3)\n    \n    def test_is_even_with_even_number(self):\n        \"\"\"Test is_even with even numbers.\"\"\"\n        self.assertTrue(is_even(4))\n        self.assertTrue(is_even(0))\n        self.assertTrue(is_even(-2))\n    \n    def test_is_even_with_odd_number(self):\n        \"\"\"Test is_even with odd numbers.\"\"\"\n        self.assertFalse(is_even(3))\n        self.assertFalse(is_even(1))\n        self.assertFalse(is_even(-1))\n\nclass TestStringFormatting(unittest.TestCase):\n    \"\"\"Test string formatting functions.\"\"\"\n    \n    def test_format_name_normal_case(self):\n        \"\"\"Test name formatting with normal input.\"\"\"\n        result = format_name(\"john\", \"doe\")\n        self.assertEqual(result, \"John Doe\")\n    \n    def test_format_name_with_spaces(self):\n        \"\"\"Test name formatting with extra spaces.\"\"\"\n        result = format_name(\"  alice  \", \"  smith  \")\n        self.assertEqual(result, \"Alice Smith\")\n    \n    def test_format_name_empty_first_name(self):\n        \"\"\"Test that empty first name raises error.\"\"\"\n        with self.assertRaises(ValueError):\n            format_name(\"\", \"doe\")\n    \n    def test_format_name_empty_last_name(self):\n        \"\"\"Test that empty last name raises error.\"\"\"\n        with self.assertRaises(ValueError):\n            format_name(\"john\", \"\")\n\n# Run the tests\nif __name__ == \"__main__\":\n    unittest.main()\n","python",[630],{"type":606,"tag":631,"props":632,"children":633},"code",{"__ignoreMap":8},[634,651,659,668,687,696,743,771,793,801,818,826,858,865,882,890,921,945,996,1003,1011,1048,1056,1064,1082,1090,1127,1149,1156,1172,1180,1212,1231,1238,1254,1262,1289,1318,1325,1341,1349,1371,1390,1414,1421,1437,1445,1465,1485,1508,1515,1547,1555,1562,1578,1586,1620,1640,1647,1663,1671,1704,1724,1731,1748,1757,1781,1807,1815,1832,1841,1865,1889,1897,1906,1933],{"type":606,"tag":635,"props":636,"children":638},"span",{"class":637,"line":12},"line",[639,645],{"type":606,"tag":635,"props":640,"children":642},{"style":641},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[643],{"type":611,"value":644},"import",{"type":606,"tag":635,"props":646,"children":648},{"style":647},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[649],{"type":611,"value":650}," unittest\n",{"type":606,"tag":635,"props":652,"children":653},{"class":637,"line":27},[654],{"type":606,"tag":635,"props":655,"children":656},{"emptyLinePlaceholder":13},[657],{"type":611,"value":658},"\n",{"type":606,"tag":635,"props":660,"children":661},{"class":637,"line":36},[662],{"type":606,"tag":635,"props":663,"children":665},{"style":664},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[666],{"type":611,"value":667},"# Example code to test\n",{"type":606,"tag":635,"props":669,"children":670},{"class":637,"line":45},[671,676,682],{"type":606,"tag":635,"props":672,"children":673},{"style":641},[674],{"type":611,"value":675},"def",{"type":606,"tag":635,"props":677,"children":679},{"style":678},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[680],{"type":611,"value":681}," calculate_area",{"type":606,"tag":635,"props":683,"children":684},{"style":647},[685],{"type":611,"value":686},"(length, width):\n",{"type":606,"tag":635,"props":688,"children":689},{"class":637,"line":54},[690],{"type":606,"tag":635,"props":691,"children":693},{"style":692},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[694],{"type":611,"value":695},"    \"\"\"Calculate the area of a rectangle.\"\"\"\n",{"type":606,"tag":635,"props":697,"children":698},{"class":637,"line":63},[699,704,709,714,720,725,730,734,738],{"type":606,"tag":635,"props":700,"children":701},{"style":641},[702],{"type":611,"value":703},"    if",{"type":606,"tag":635,"props":705,"children":706},{"style":647},[707],{"type":611,"value":708}," length ",{"type":606,"tag":635,"props":710,"children":711},{"style":641},[712],{"type":611,"value":713},"\u003C",{"type":606,"tag":635,"props":715,"children":717},{"style":716},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[718],{"type":611,"value":719}," 0",{"type":606,"tag":635,"props":721,"children":722},{"style":641},[723],{"type":611,"value":724}," or",{"type":606,"tag":635,"props":726,"children":727},{"style":647},[728],{"type":611,"value":729}," width ",{"type":606,"tag":635,"props":731,"children":732},{"style":641},[733],{"type":611,"value":713},{"type":606,"tag":635,"props":735,"children":736},{"style":716},[737],{"type":611,"value":719},{"type":606,"tag":635,"props":739,"children":740},{"style":647},[741],{"type":611,"value":742},":\n",{"type":606,"tag":635,"props":744,"children":745},{"class":637,"line":72},[746,751,756,761,766],{"type":606,"tag":635,"props":747,"children":748},{"style":641},[749],{"type":611,"value":750},"        raise",{"type":606,"tag":635,"props":752,"children":753},{"style":716},[754],{"type":611,"value":755}," ValueError",{"type":606,"tag":635,"props":757,"children":758},{"style":647},[759],{"type":611,"value":760},"(",{"type":606,"tag":635,"props":762,"children":763},{"style":692},[764],{"type":611,"value":765},"\"Dimensions must be positive\"",{"type":606,"tag":635,"props":767,"children":768},{"style":647},[769],{"type":611,"value":770},")\n",{"type":606,"tag":635,"props":772,"children":773},{"class":637,"line":81},[774,779,783,788],{"type":606,"tag":635,"props":775,"children":776},{"style":641},[777],{"type":611,"value":778},"    return",{"type":606,"tag":635,"props":780,"children":781},{"style":647},[782],{"type":611,"value":708},{"type":606,"tag":635,"props":784,"children":785},{"style":641},[786],{"type":611,"value":787},"*",{"type":606,"tag":635,"props":789,"children":790},{"style":647},[791],{"type":611,"value":792}," width\n",{"type":606,"tag":635,"props":794,"children":796},{"class":637,"line":795},9,[797],{"type":606,"tag":635,"props":798,"children":799},{"emptyLinePlaceholder":13},[800],{"type":611,"value":658},{"type":606,"tag":635,"props":802,"children":803},{"class":637,"line":99},[804,808,813],{"type":606,"tag":635,"props":805,"children":806},{"style":641},[807],{"type":611,"value":675},{"type":606,"tag":635,"props":809,"children":810},{"style":678},[811],{"type":611,"value":812}," is_even",{"type":606,"tag":635,"props":814,"children":815},{"style":647},[816],{"type":611,"value":817},"(number):\n",{"type":606,"tag":635,"props":819,"children":820},{"class":637,"line":108},[821],{"type":606,"tag":635,"props":822,"children":823},{"style":692},[824],{"type":611,"value":825},"    \"\"\"Check if a number is even.\"\"\"\n",{"type":606,"tag":635,"props":827,"children":828},{"class":637,"line":117},[829,833,838,843,848,853],{"type":606,"tag":635,"props":830,"children":831},{"style":641},[832],{"type":611,"value":778},{"type":606,"tag":635,"props":834,"children":835},{"style":647},[836],{"type":611,"value":837}," number ",{"type":606,"tag":635,"props":839,"children":840},{"style":641},[841],{"type":611,"value":842},"%",{"type":606,"tag":635,"props":844,"children":845},{"style":716},[846],{"type":611,"value":847}," 2",{"type":606,"tag":635,"props":849,"children":850},{"style":641},[851],{"type":611,"value":852}," ==",{"type":606,"tag":635,"props":854,"children":855},{"style":716},[856],{"type":611,"value":857}," 0\n",{"type":606,"tag":635,"props":859,"children":860},{"class":637,"line":126},[861],{"type":606,"tag":635,"props":862,"children":863},{"emptyLinePlaceholder":13},[864],{"type":611,"value":658},{"type":606,"tag":635,"props":866,"children":867},{"class":637,"line":135},[868,872,877],{"type":606,"tag":635,"props":869,"children":870},{"style":641},[871],{"type":611,"value":675},{"type":606,"tag":635,"props":873,"children":874},{"style":678},[875],{"type":611,"value":876}," format_name",{"type":606,"tag":635,"props":878,"children":879},{"style":647},[880],{"type":611,"value":881},"(first_name, last_name):\n",{"type":606,"tag":635,"props":883,"children":884},{"class":637,"line":144},[885],{"type":606,"tag":635,"props":886,"children":887},{"style":692},[888],{"type":611,"value":889},"    \"\"\"Format a full name properly.\"\"\"\n",{"type":606,"tag":635,"props":891,"children":892},{"class":637,"line":153},[893,897,902,907,912,916],{"type":606,"tag":635,"props":894,"children":895},{"style":641},[896],{"type":611,"value":703},{"type":606,"tag":635,"props":898,"children":899},{"style":641},[900],{"type":611,"value":901}," not",{"type":606,"tag":635,"props":903,"children":904},{"style":647},[905],{"type":611,"value":906}," first_name ",{"type":606,"tag":635,"props":908,"children":909},{"style":641},[910],{"type":611,"value":911},"or",{"type":606,"tag":635,"props":913,"children":914},{"style":641},[915],{"type":611,"value":901},{"type":606,"tag":635,"props":917,"children":918},{"style":647},[919],{"type":611,"value":920}," last_name:\n",{"type":606,"tag":635,"props":922,"children":923},{"class":637,"line":163},[924,928,932,936,941],{"type":606,"tag":635,"props":925,"children":926},{"style":641},[927],{"type":611,"value":750},{"type":606,"tag":635,"props":929,"children":930},{"style":716},[931],{"type":611,"value":755},{"type":606,"tag":635,"props":933,"children":934},{"style":647},[935],{"type":611,"value":760},{"type":606,"tag":635,"props":937,"children":938},{"style":692},[939],{"type":611,"value":940},"\"Both first and last name required\"",{"type":606,"tag":635,"props":942,"children":943},{"style":647},[944],{"type":611,"value":770},{"type":606,"tag":635,"props":946,"children":947},{"class":637,"line":172},[948,952,957,962,967,972,977,982,987,991],{"type":606,"tag":635,"props":949,"children":950},{"style":641},[951],{"type":611,"value":778},{"type":606,"tag":635,"props":953,"children":954},{"style":641},[955],{"type":611,"value":956}," f",{"type":606,"tag":635,"props":958,"children":959},{"style":692},[960],{"type":611,"value":961},"\"",{"type":606,"tag":635,"props":963,"children":964},{"style":716},[965],{"type":611,"value":966},"{",{"type":606,"tag":635,"props":968,"children":969},{"style":647},[970],{"type":611,"value":971},"first_name.strip().title()",{"type":606,"tag":635,"props":973,"children":974},{"style":716},[975],{"type":611,"value":976},"}",{"type":606,"tag":635,"props":978,"children":979},{"style":716},[980],{"type":611,"value":981}," {",{"type":606,"tag":635,"props":983,"children":984},{"style":647},[985],{"type":611,"value":986},"last_name.strip().title()",{"type":606,"tag":635,"props":988,"children":989},{"style":716},[990],{"type":611,"value":976},{"type":606,"tag":635,"props":992,"children":993},{"style":692},[994],{"type":611,"value":995},"\"\n",{"type":606,"tag":635,"props":997,"children":998},{"class":637,"line":181},[999],{"type":606,"tag":635,"props":1000,"children":1001},{"emptyLinePlaceholder":13},[1002],{"type":611,"value":658},{"type":606,"tag":635,"props":1004,"children":1005},{"class":637,"line":190},[1006],{"type":606,"tag":635,"props":1007,"children":1008},{"style":664},[1009],{"type":611,"value":1010},"# Unit tests for the functions\n",{"type":606,"tag":635,"props":1012,"children":1013},{"class":637,"line":199},[1014,1019,1024,1028,1033,1038,1043],{"type":606,"tag":635,"props":1015,"children":1016},{"style":641},[1017],{"type":611,"value":1018},"class",{"type":606,"tag":635,"props":1020,"children":1021},{"style":678},[1022],{"type":611,"value":1023}," TestCalculations",{"type":606,"tag":635,"props":1025,"children":1026},{"style":647},[1027],{"type":611,"value":760},{"type":606,"tag":635,"props":1029,"children":1030},{"style":678},[1031],{"type":611,"value":1032},"unittest",{"type":606,"tag":635,"props":1034,"children":1035},{"style":647},[1036],{"type":611,"value":1037},".",{"type":606,"tag":635,"props":1039,"children":1040},{"style":678},[1041],{"type":611,"value":1042},"TestCase",{"type":606,"tag":635,"props":1044,"children":1045},{"style":647},[1046],{"type":611,"value":1047},"):\n",{"type":606,"tag":635,"props":1049,"children":1050},{"class":637,"line":208},[1051],{"type":606,"tag":635,"props":1052,"children":1053},{"style":692},[1054],{"type":611,"value":1055},"    \"\"\"Test mathematical calculations.\"\"\"\n",{"type":606,"tag":635,"props":1057,"children":1058},{"class":637,"line":217},[1059],{"type":606,"tag":635,"props":1060,"children":1061},{"style":647},[1062],{"type":611,"value":1063},"    \n",{"type":606,"tag":635,"props":1065,"children":1066},{"class":637,"line":227},[1067,1072,1077],{"type":606,"tag":635,"props":1068,"children":1069},{"style":641},[1070],{"type":611,"value":1071},"    def",{"type":606,"tag":635,"props":1073,"children":1074},{"style":678},[1075],{"type":611,"value":1076}," test_calculate_area_positive_numbers",{"type":606,"tag":635,"props":1078,"children":1079},{"style":647},[1080],{"type":611,"value":1081},"(self):\n",{"type":606,"tag":635,"props":1083,"children":1084},{"class":637,"line":236},[1085],{"type":606,"tag":635,"props":1086,"children":1087},{"style":692},[1088],{"type":611,"value":1089},"        \"\"\"Test area calculation with positive numbers.\"\"\"\n",{"type":606,"tag":635,"props":1091,"children":1092},{"class":637,"line":245},[1093,1098,1103,1108,1113,1118,1123],{"type":606,"tag":635,"props":1094,"children":1095},{"style":647},[1096],{"type":611,"value":1097},"        result ",{"type":606,"tag":635,"props":1099,"children":1100},{"style":641},[1101],{"type":611,"value":1102},"=",{"type":606,"tag":635,"props":1104,"children":1105},{"style":647},[1106],{"type":611,"value":1107}," calculate_area(",{"type":606,"tag":635,"props":1109,"children":1110},{"style":716},[1111],{"type":611,"value":1112},"5",{"type":606,"tag":635,"props":1114,"children":1115},{"style":647},[1116],{"type":611,"value":1117},", ",{"type":606,"tag":635,"props":1119,"children":1120},{"style":716},[1121],{"type":611,"value":1122},"3",{"type":606,"tag":635,"props":1124,"children":1125},{"style":647},[1126],{"type":611,"value":770},{"type":606,"tag":635,"props":1128,"children":1129},{"class":637,"line":254},[1130,1135,1140,1145],{"type":606,"tag":635,"props":1131,"children":1132},{"style":716},[1133],{"type":611,"value":1134},"        self",{"type":606,"tag":635,"props":1136,"children":1137},{"style":647},[1138],{"type":611,"value":1139},".assertEqual(result, ",{"type":606,"tag":635,"props":1141,"children":1142},{"style":716},[1143],{"type":611,"value":1144},"15",{"type":606,"tag":635,"props":1146,"children":1147},{"style":647},[1148],{"type":611,"value":770},{"type":606,"tag":635,"props":1150,"children":1151},{"class":637,"line":263},[1152],{"type":606,"tag":635,"props":1153,"children":1154},{"style":647},[1155],{"type":611,"value":1063},{"type":606,"tag":635,"props":1157,"children":1158},{"class":637,"line":272},[1159,1163,1168],{"type":606,"tag":635,"props":1160,"children":1161},{"style":641},[1162],{"type":611,"value":1071},{"type":606,"tag":635,"props":1164,"children":1165},{"style":678},[1166],{"type":611,"value":1167}," test_calculate_area_zero",{"type":606,"tag":635,"props":1169,"children":1170},{"style":647},[1171],{"type":611,"value":1081},{"type":606,"tag":635,"props":1173,"children":1174},{"class":637,"line":281},[1175],{"type":606,"tag":635,"props":1176,"children":1177},{"style":692},[1178],{"type":611,"value":1179},"        \"\"\"Test area calculation with zero.\"\"\"\n",{"type":606,"tag":635,"props":1181,"children":1182},{"class":637,"line":291},[1183,1187,1191,1195,1200,1204,1208],{"type":606,"tag":635,"props":1184,"children":1185},{"style":647},[1186],{"type":611,"value":1097},{"type":606,"tag":635,"props":1188,"children":1189},{"style":641},[1190],{"type":611,"value":1102},{"type":606,"tag":635,"props":1192,"children":1193},{"style":647},[1194],{"type":611,"value":1107},{"type":606,"tag":635,"props":1196,"children":1197},{"style":716},[1198],{"type":611,"value":1199},"0",{"type":606,"tag":635,"props":1201,"children":1202},{"style":647},[1203],{"type":611,"value":1117},{"type":606,"tag":635,"props":1205,"children":1206},{"style":716},[1207],{"type":611,"value":1112},{"type":606,"tag":635,"props":1209,"children":1210},{"style":647},[1211],{"type":611,"value":770},{"type":606,"tag":635,"props":1213,"children":1214},{"class":637,"line":302},[1215,1219,1223,1227],{"type":606,"tag":635,"props":1216,"children":1217},{"style":716},[1218],{"type":611,"value":1134},{"type":606,"tag":635,"props":1220,"children":1221},{"style":647},[1222],{"type":611,"value":1139},{"type":606,"tag":635,"props":1224,"children":1225},{"style":716},[1226],{"type":611,"value":1199},{"type":606,"tag":635,"props":1228,"children":1229},{"style":647},[1230],{"type":611,"value":770},{"type":606,"tag":635,"props":1232,"children":1233},{"class":637,"line":311},[1234],{"type":606,"tag":635,"props":1235,"children":1236},{"style":647},[1237],{"type":611,"value":1063},{"type":606,"tag":635,"props":1239,"children":1240},{"class":637,"line":320},[1241,1245,1250],{"type":606,"tag":635,"props":1242,"children":1243},{"style":641},[1244],{"type":611,"value":1071},{"type":606,"tag":635,"props":1246,"children":1247},{"style":678},[1248],{"type":611,"value":1249}," test_calculate_area_negative_raises_error",{"type":606,"tag":635,"props":1251,"children":1252},{"style":647},[1253],{"type":611,"value":1081},{"type":606,"tag":635,"props":1255,"children":1256},{"class":637,"line":329},[1257],{"type":606,"tag":635,"props":1258,"children":1259},{"style":692},[1260],{"type":611,"value":1261},"        \"\"\"Test that negative dimensions raise an error.\"\"\"\n",{"type":606,"tag":635,"props":1263,"children":1264},{"class":637,"line":338},[1265,1270,1275,1280,1285],{"type":606,"tag":635,"props":1266,"children":1267},{"style":641},[1268],{"type":611,"value":1269},"        with",{"type":606,"tag":635,"props":1271,"children":1272},{"style":716},[1273],{"type":611,"value":1274}," self",{"type":606,"tag":635,"props":1276,"children":1277},{"style":647},[1278],{"type":611,"value":1279},".assertRaises(",{"type":606,"tag":635,"props":1281,"children":1282},{"style":716},[1283],{"type":611,"value":1284},"ValueError",{"type":606,"tag":635,"props":1286,"children":1287},{"style":647},[1288],{"type":611,"value":1047},{"type":606,"tag":635,"props":1290,"children":1291},{"class":637,"line":347},[1292,1297,1302,1306,1310,1314],{"type":606,"tag":635,"props":1293,"children":1294},{"style":647},[1295],{"type":611,"value":1296},"            calculate_area(",{"type":606,"tag":635,"props":1298,"children":1299},{"style":641},[1300],{"type":611,"value":1301},"-",{"type":606,"tag":635,"props":1303,"children":1304},{"style":716},[1305],{"type":611,"value":1112},{"type":606,"tag":635,"props":1307,"children":1308},{"style":647},[1309],{"type":611,"value":1117},{"type":606,"tag":635,"props":1311,"children":1312},{"style":716},[1313],{"type":611,"value":1122},{"type":606,"tag":635,"props":1315,"children":1316},{"style":647},[1317],{"type":611,"value":770},{"type":606,"tag":635,"props":1319,"children":1320},{"class":637,"line":356},[1321],{"type":606,"tag":635,"props":1322,"children":1323},{"style":647},[1324],{"type":611,"value":1063},{"type":606,"tag":635,"props":1326,"children":1327},{"class":637,"line":367},[1328,1332,1337],{"type":606,"tag":635,"props":1329,"children":1330},{"style":641},[1331],{"type":611,"value":1071},{"type":606,"tag":635,"props":1333,"children":1334},{"style":678},[1335],{"type":611,"value":1336}," test_is_even_with_even_number",{"type":606,"tag":635,"props":1338,"children":1339},{"style":647},[1340],{"type":611,"value":1081},{"type":606,"tag":635,"props":1342,"children":1343},{"class":637,"line":376},[1344],{"type":606,"tag":635,"props":1345,"children":1346},{"style":692},[1347],{"type":611,"value":1348},"        \"\"\"Test is_even with even numbers.\"\"\"\n",{"type":606,"tag":635,"props":1350,"children":1351},{"class":637,"line":385},[1352,1356,1361,1366],{"type":606,"tag":635,"props":1353,"children":1354},{"style":716},[1355],{"type":611,"value":1134},{"type":606,"tag":635,"props":1357,"children":1358},{"style":647},[1359],{"type":611,"value":1360},".assertTrue(is_even(",{"type":606,"tag":635,"props":1362,"children":1363},{"style":716},[1364],{"type":611,"value":1365},"4",{"type":606,"tag":635,"props":1367,"children":1368},{"style":647},[1369],{"type":611,"value":1370},"))\n",{"type":606,"tag":635,"props":1372,"children":1373},{"class":637,"line":394},[1374,1378,1382,1386],{"type":606,"tag":635,"props":1375,"children":1376},{"style":716},[1377],{"type":611,"value":1134},{"type":606,"tag":635,"props":1379,"children":1380},{"style":647},[1381],{"type":611,"value":1360},{"type":606,"tag":635,"props":1383,"children":1384},{"style":716},[1385],{"type":611,"value":1199},{"type":606,"tag":635,"props":1387,"children":1388},{"style":647},[1389],{"type":611,"value":1370},{"type":606,"tag":635,"props":1391,"children":1392},{"class":637,"line":403},[1393,1397,1401,1405,1410],{"type":606,"tag":635,"props":1394,"children":1395},{"style":716},[1396],{"type":611,"value":1134},{"type":606,"tag":635,"props":1398,"children":1399},{"style":647},[1400],{"type":611,"value":1360},{"type":606,"tag":635,"props":1402,"children":1403},{"style":641},[1404],{"type":611,"value":1301},{"type":606,"tag":635,"props":1406,"children":1407},{"style":716},[1408],{"type":611,"value":1409},"2",{"type":606,"tag":635,"props":1411,"children":1412},{"style":647},[1413],{"type":611,"value":1370},{"type":606,"tag":635,"props":1415,"children":1416},{"class":637,"line":412},[1417],{"type":606,"tag":635,"props":1418,"children":1419},{"style":647},[1420],{"type":611,"value":1063},{"type":606,"tag":635,"props":1422,"children":1423},{"class":637,"line":423},[1424,1428,1433],{"type":606,"tag":635,"props":1425,"children":1426},{"style":641},[1427],{"type":611,"value":1071},{"type":606,"tag":635,"props":1429,"children":1430},{"style":678},[1431],{"type":611,"value":1432}," test_is_even_with_odd_number",{"type":606,"tag":635,"props":1434,"children":1435},{"style":647},[1436],{"type":611,"value":1081},{"type":606,"tag":635,"props":1438,"children":1439},{"class":637,"line":432},[1440],{"type":606,"tag":635,"props":1441,"children":1442},{"style":692},[1443],{"type":611,"value":1444},"        \"\"\"Test is_even with odd numbers.\"\"\"\n",{"type":606,"tag":635,"props":1446,"children":1447},{"class":637,"line":441},[1448,1452,1457,1461],{"type":606,"tag":635,"props":1449,"children":1450},{"style":716},[1451],{"type":611,"value":1134},{"type":606,"tag":635,"props":1453,"children":1454},{"style":647},[1455],{"type":611,"value":1456},".assertFalse(is_even(",{"type":606,"tag":635,"props":1458,"children":1459},{"style":716},[1460],{"type":611,"value":1122},{"type":606,"tag":635,"props":1462,"children":1463},{"style":647},[1464],{"type":611,"value":1370},{"type":606,"tag":635,"props":1466,"children":1467},{"class":637,"line":450},[1468,1472,1476,1481],{"type":606,"tag":635,"props":1469,"children":1470},{"style":716},[1471],{"type":611,"value":1134},{"type":606,"tag":635,"props":1473,"children":1474},{"style":647},[1475],{"type":611,"value":1456},{"type":606,"tag":635,"props":1477,"children":1478},{"style":716},[1479],{"type":611,"value":1480},"1",{"type":606,"tag":635,"props":1482,"children":1483},{"style":647},[1484],{"type":611,"value":1370},{"type":606,"tag":635,"props":1486,"children":1487},{"class":637,"line":459},[1488,1492,1496,1500,1504],{"type":606,"tag":635,"props":1489,"children":1490},{"style":716},[1491],{"type":611,"value":1134},{"type":606,"tag":635,"props":1493,"children":1494},{"style":647},[1495],{"type":611,"value":1456},{"type":606,"tag":635,"props":1497,"children":1498},{"style":641},[1499],{"type":611,"value":1301},{"type":606,"tag":635,"props":1501,"children":1502},{"style":716},[1503],{"type":611,"value":1480},{"type":606,"tag":635,"props":1505,"children":1506},{"style":647},[1507],{"type":611,"value":1370},{"type":606,"tag":635,"props":1509,"children":1510},{"class":637,"line":468},[1511],{"type":606,"tag":635,"props":1512,"children":1513},{"emptyLinePlaceholder":13},[1514],{"type":611,"value":658},{"type":606,"tag":635,"props":1516,"children":1517},{"class":637,"line":477},[1518,1522,1527,1531,1535,1539,1543],{"type":606,"tag":635,"props":1519,"children":1520},{"style":641},[1521],{"type":611,"value":1018},{"type":606,"tag":635,"props":1523,"children":1524},{"style":678},[1525],{"type":611,"value":1526}," TestStringFormatting",{"type":606,"tag":635,"props":1528,"children":1529},{"style":647},[1530],{"type":611,"value":760},{"type":606,"tag":635,"props":1532,"children":1533},{"style":678},[1534],{"type":611,"value":1032},{"type":606,"tag":635,"props":1536,"children":1537},{"style":647},[1538],{"type":611,"value":1037},{"type":606,"tag":635,"props":1540,"children":1541},{"style":678},[1542],{"type":611,"value":1042},{"type":606,"tag":635,"props":1544,"children":1545},{"style":647},[1546],{"type":611,"value":1047},{"type":606,"tag":635,"props":1548,"children":1549},{"class":637,"line":488},[1550],{"type":606,"tag":635,"props":1551,"children":1552},{"style":692},[1553],{"type":611,"value":1554},"    \"\"\"Test string formatting functions.\"\"\"\n",{"type":606,"tag":635,"props":1556,"children":1557},{"class":637,"line":497},[1558],{"type":606,"tag":635,"props":1559,"children":1560},{"style":647},[1561],{"type":611,"value":1063},{"type":606,"tag":635,"props":1563,"children":1564},{"class":637,"line":506},[1565,1569,1574],{"type":606,"tag":635,"props":1566,"children":1567},{"style":641},[1568],{"type":611,"value":1071},{"type":606,"tag":635,"props":1570,"children":1571},{"style":678},[1572],{"type":611,"value":1573}," test_format_name_normal_case",{"type":606,"tag":635,"props":1575,"children":1576},{"style":647},[1577],{"type":611,"value":1081},{"type":606,"tag":635,"props":1579,"children":1580},{"class":637,"line":515},[1581],{"type":606,"tag":635,"props":1582,"children":1583},{"style":692},[1584],{"type":611,"value":1585},"        \"\"\"Test name formatting with normal input.\"\"\"\n",{"type":606,"tag":635,"props":1587,"children":1588},{"class":637,"line":524},[1589,1593,1597,1602,1607,1611,1616],{"type":606,"tag":635,"props":1590,"children":1591},{"style":647},[1592],{"type":611,"value":1097},{"type":606,"tag":635,"props":1594,"children":1595},{"style":641},[1596],{"type":611,"value":1102},{"type":606,"tag":635,"props":1598,"children":1599},{"style":647},[1600],{"type":611,"value":1601}," format_name(",{"type":606,"tag":635,"props":1603,"children":1604},{"style":692},[1605],{"type":611,"value":1606},"\"john\"",{"type":606,"tag":635,"props":1608,"children":1609},{"style":647},[1610],{"type":611,"value":1117},{"type":606,"tag":635,"props":1612,"children":1613},{"style":692},[1614],{"type":611,"value":1615},"\"doe\"",{"type":606,"tag":635,"props":1617,"children":1618},{"style":647},[1619],{"type":611,"value":770},{"type":606,"tag":635,"props":1621,"children":1622},{"class":637,"line":533},[1623,1627,1631,1636],{"type":606,"tag":635,"props":1624,"children":1625},{"style":716},[1626],{"type":611,"value":1134},{"type":606,"tag":635,"props":1628,"children":1629},{"style":647},[1630],{"type":611,"value":1139},{"type":606,"tag":635,"props":1632,"children":1633},{"style":692},[1634],{"type":611,"value":1635},"\"John Doe\"",{"type":606,"tag":635,"props":1637,"children":1638},{"style":647},[1639],{"type":611,"value":770},{"type":606,"tag":635,"props":1641,"children":1642},{"class":637,"line":544},[1643],{"type":606,"tag":635,"props":1644,"children":1645},{"style":647},[1646],{"type":611,"value":1063},{"type":606,"tag":635,"props":1648,"children":1649},{"class":637,"line":553},[1650,1654,1659],{"type":606,"tag":635,"props":1651,"children":1652},{"style":641},[1653],{"type":611,"value":1071},{"type":606,"tag":635,"props":1655,"children":1656},{"style":678},[1657],{"type":611,"value":1658}," test_format_name_with_spaces",{"type":606,"tag":635,"props":1660,"children":1661},{"style":647},[1662],{"type":611,"value":1081},{"type":606,"tag":635,"props":1664,"children":1665},{"class":637,"line":562},[1666],{"type":606,"tag":635,"props":1667,"children":1668},{"style":692},[1669],{"type":611,"value":1670},"        \"\"\"Test name formatting with extra spaces.\"\"\"\n",{"type":606,"tag":635,"props":1672,"children":1673},{"class":637,"line":571},[1674,1678,1682,1686,1691,1695,1700],{"type":606,"tag":635,"props":1675,"children":1676},{"style":647},[1677],{"type":611,"value":1097},{"type":606,"tag":635,"props":1679,"children":1680},{"style":641},[1681],{"type":611,"value":1102},{"type":606,"tag":635,"props":1683,"children":1684},{"style":647},[1685],{"type":611,"value":1601},{"type":606,"tag":635,"props":1687,"children":1688},{"style":692},[1689],{"type":611,"value":1690},"\"  alice  \"",{"type":606,"tag":635,"props":1692,"children":1693},{"style":647},[1694],{"type":611,"value":1117},{"type":606,"tag":635,"props":1696,"children":1697},{"style":692},[1698],{"type":611,"value":1699},"\"  smith  \"",{"type":606,"tag":635,"props":1701,"children":1702},{"style":647},[1703],{"type":611,"value":770},{"type":606,"tag":635,"props":1705,"children":1706},{"class":637,"line":580},[1707,1711,1715,1720],{"type":606,"tag":635,"props":1708,"children":1709},{"style":716},[1710],{"type":611,"value":1134},{"type":606,"tag":635,"props":1712,"children":1713},{"style":647},[1714],{"type":611,"value":1139},{"type":606,"tag":635,"props":1716,"children":1717},{"style":692},[1718],{"type":611,"value":1719},"\"Alice Smith\"",{"type":606,"tag":635,"props":1721,"children":1722},{"style":647},[1723],{"type":611,"value":770},{"type":606,"tag":635,"props":1725,"children":1726},{"class":637,"line":589},[1727],{"type":606,"tag":635,"props":1728,"children":1729},{"style":647},[1730],{"type":611,"value":1063},{"type":606,"tag":635,"props":1732,"children":1734},{"class":637,"line":1733},64,[1735,1739,1744],{"type":606,"tag":635,"props":1736,"children":1737},{"style":641},[1738],{"type":611,"value":1071},{"type":606,"tag":635,"props":1740,"children":1741},{"style":678},[1742],{"type":611,"value":1743}," test_format_name_empty_first_name",{"type":606,"tag":635,"props":1745,"children":1746},{"style":647},[1747],{"type":611,"value":1081},{"type":606,"tag":635,"props":1749,"children":1751},{"class":637,"line":1750},65,[1752],{"type":606,"tag":635,"props":1753,"children":1754},{"style":692},[1755],{"type":611,"value":1756},"        \"\"\"Test that empty first name raises error.\"\"\"\n",{"type":606,"tag":635,"props":1758,"children":1760},{"class":637,"line":1759},66,[1761,1765,1769,1773,1777],{"type":606,"tag":635,"props":1762,"children":1763},{"style":641},[1764],{"type":611,"value":1269},{"type":606,"tag":635,"props":1766,"children":1767},{"style":716},[1768],{"type":611,"value":1274},{"type":606,"tag":635,"props":1770,"children":1771},{"style":647},[1772],{"type":611,"value":1279},{"type":606,"tag":635,"props":1774,"children":1775},{"style":716},[1776],{"type":611,"value":1284},{"type":606,"tag":635,"props":1778,"children":1779},{"style":647},[1780],{"type":611,"value":1047},{"type":606,"tag":635,"props":1782,"children":1784},{"class":637,"line":1783},67,[1785,1790,1795,1799,1803],{"type":606,"tag":635,"props":1786,"children":1787},{"style":647},[1788],{"type":611,"value":1789},"            format_name(",{"type":606,"tag":635,"props":1791,"children":1792},{"style":692},[1793],{"type":611,"value":1794},"\"\"",{"type":606,"tag":635,"props":1796,"children":1797},{"style":647},[1798],{"type":611,"value":1117},{"type":606,"tag":635,"props":1800,"children":1801},{"style":692},[1802],{"type":611,"value":1615},{"type":606,"tag":635,"props":1804,"children":1805},{"style":647},[1806],{"type":611,"value":770},{"type":606,"tag":635,"props":1808,"children":1810},{"class":637,"line":1809},68,[1811],{"type":606,"tag":635,"props":1812,"children":1813},{"style":647},[1814],{"type":611,"value":1063},{"type":606,"tag":635,"props":1816,"children":1818},{"class":637,"line":1817},69,[1819,1823,1828],{"type":606,"tag":635,"props":1820,"children":1821},{"style":641},[1822],{"type":611,"value":1071},{"type":606,"tag":635,"props":1824,"children":1825},{"style":678},[1826],{"type":611,"value":1827}," test_format_name_empty_last_name",{"type":606,"tag":635,"props":1829,"children":1830},{"style":647},[1831],{"type":611,"value":1081},{"type":606,"tag":635,"props":1833,"children":1835},{"class":637,"line":1834},70,[1836],{"type":606,"tag":635,"props":1837,"children":1838},{"style":692},[1839],{"type":611,"value":1840},"        \"\"\"Test that empty last name raises error.\"\"\"\n",{"type":606,"tag":635,"props":1842,"children":1844},{"class":637,"line":1843},71,[1845,1849,1853,1857,1861],{"type":606,"tag":635,"props":1846,"children":1847},{"style":641},[1848],{"type":611,"value":1269},{"type":606,"tag":635,"props":1850,"children":1851},{"style":716},[1852],{"type":611,"value":1274},{"type":606,"tag":635,"props":1854,"children":1855},{"style":647},[1856],{"type":611,"value":1279},{"type":606,"tag":635,"props":1858,"children":1859},{"style":716},[1860],{"type":611,"value":1284},{"type":606,"tag":635,"props":1862,"children":1863},{"style":647},[1864],{"type":611,"value":1047},{"type":606,"tag":635,"props":1866,"children":1868},{"class":637,"line":1867},72,[1869,1873,1877,1881,1885],{"type":606,"tag":635,"props":1870,"children":1871},{"style":647},[1872],{"type":611,"value":1789},{"type":606,"tag":635,"props":1874,"children":1875},{"style":692},[1876],{"type":611,"value":1606},{"type":606,"tag":635,"props":1878,"children":1879},{"style":647},[1880],{"type":611,"value":1117},{"type":606,"tag":635,"props":1882,"children":1883},{"style":692},[1884],{"type":611,"value":1794},{"type":606,"tag":635,"props":1886,"children":1887},{"style":647},[1888],{"type":611,"value":770},{"type":606,"tag":635,"props":1890,"children":1892},{"class":637,"line":1891},73,[1893],{"type":606,"tag":635,"props":1894,"children":1895},{"emptyLinePlaceholder":13},[1896],{"type":611,"value":658},{"type":606,"tag":635,"props":1898,"children":1900},{"class":637,"line":1899},74,[1901],{"type":606,"tag":635,"props":1902,"children":1903},{"style":664},[1904],{"type":611,"value":1905},"# Run the tests\n",{"type":606,"tag":635,"props":1907,"children":1909},{"class":637,"line":1908},75,[1910,1915,1920,1924,1929],{"type":606,"tag":635,"props":1911,"children":1912},{"style":641},[1913],{"type":611,"value":1914},"if",{"type":606,"tag":635,"props":1916,"children":1917},{"style":716},[1918],{"type":611,"value":1919}," __name__",{"type":606,"tag":635,"props":1921,"children":1922},{"style":641},[1923],{"type":611,"value":852},{"type":606,"tag":635,"props":1925,"children":1926},{"style":692},[1927],{"type":611,"value":1928}," \"__main__\"",{"type":606,"tag":635,"props":1930,"children":1931},{"style":647},[1932],{"type":611,"value":742},{"type":606,"tag":635,"props":1934,"children":1936},{"class":637,"line":1935},76,[1937],{"type":606,"tag":635,"props":1938,"children":1939},{"style":647},[1940],{"type":611,"value":1941},"    unittest.main()\n",{"type":606,"tag":1943,"props":1944,"children":1946},"h2",{"id":1945},"understanding-unit-tests",[1947],{"type":611,"value":1948},"🎯 Understanding Unit Tests",{"type":606,"tag":614,"props":1950,"children":1951},{},[1952],{"type":611,"value":1953},"Unit tests are small, focused tests that verify individual functions or methods work correctly.",{"type":606,"tag":1955,"props":1956,"children":1960},"info-box",{"emoji":1957,"title":1958,"type":1959},"🧪","Unit Testing Principles","info",[1961,1970,1995,2003,2036,2044,2067,2075],{"type":606,"tag":614,"props":1962,"children":1963},{},[1964],{"type":606,"tag":1965,"props":1966,"children":1967},"strong",{},[1968],{"type":611,"value":1969},"What to Test:",{"type":606,"tag":1971,"props":1972,"children":1973},"ul",{},[1974,1980,1985,1990],{"type":606,"tag":1975,"props":1976,"children":1977},"li",{},[1978],{"type":611,"value":1979},"Individual functions and methods",{"type":606,"tag":1975,"props":1981,"children":1982},{},[1983],{"type":611,"value":1984},"Expected behavior with valid inputs",{"type":606,"tag":1975,"props":1986,"children":1987},{},[1988],{"type":611,"value":1989},"Error handling with invalid inputs",{"type":606,"tag":1975,"props":1991,"children":1992},{},[1993],{"type":611,"value":1994},"Edge cases and boundary conditions",{"type":606,"tag":614,"props":1996,"children":1997},{},[1998],{"type":606,"tag":1965,"props":1999,"children":2000},{},[2001],{"type":611,"value":2002},"Test Structure:",{"type":606,"tag":1971,"props":2004,"children":2005},{},[2006,2016,2026],{"type":606,"tag":1975,"props":2007,"children":2008},{},[2009,2014],{"type":606,"tag":1965,"props":2010,"children":2011},{},[2012],{"type":611,"value":2013},"Arrange",{"type":611,"value":2015},": Set up test data",{"type":606,"tag":1975,"props":2017,"children":2018},{},[2019,2024],{"type":606,"tag":1965,"props":2020,"children":2021},{},[2022],{"type":611,"value":2023},"Act",{"type":611,"value":2025},": Call the function being tested",{"type":606,"tag":1975,"props":2027,"children":2028},{},[2029,2034],{"type":606,"tag":1965,"props":2030,"children":2031},{},[2032],{"type":611,"value":2033},"Assert",{"type":611,"value":2035},": Check the result matches expectations",{"type":606,"tag":614,"props":2037,"children":2038},{},[2039],{"type":606,"tag":1965,"props":2040,"children":2041},{},[2042],{"type":611,"value":2043},"Good Tests Are:",{"type":606,"tag":1971,"props":2045,"children":2046},{},[2047,2052,2057,2062],{"type":606,"tag":1975,"props":2048,"children":2049},{},[2050],{"type":611,"value":2051},"Fast to run (milliseconds)",{"type":606,"tag":1975,"props":2053,"children":2054},{},[2055],{"type":611,"value":2056},"Independent of each other",{"type":606,"tag":1975,"props":2058,"children":2059},{},[2060],{"type":611,"value":2061},"Repeatable with same results",{"type":606,"tag":1975,"props":2063,"children":2064},{},[2065],{"type":611,"value":2066},"Clear about what they're testing",{"type":606,"tag":614,"props":2068,"children":2069},{},[2070],{"type":606,"tag":1965,"props":2071,"children":2072},{},[2073],{"type":611,"value":2074},"Benefits:",{"type":606,"tag":1971,"props":2076,"children":2077},{},[2078,2083,2088,2093],{"type":606,"tag":1975,"props":2079,"children":2080},{},[2081],{"type":611,"value":2082},"Catch bugs early in development",{"type":606,"tag":1975,"props":2084,"children":2085},{},[2086],{"type":611,"value":2087},"Make refactoring safer",{"type":606,"tag":1975,"props":2089,"children":2090},{},[2091],{"type":611,"value":2092},"Document expected behavior",{"type":606,"tag":1975,"props":2094,"children":2095},{},[2096],{"type":611,"value":2097},"Build confidence in code changes",{"type":606,"tag":2099,"props":2100,"children":2102},"h3",{"id":2101},"basic-test-structure",[2103],{"type":611,"value":2104},"Basic Test Structure",{"type":606,"tag":620,"props":2106,"children":2107},{},[2108],{"type":606,"tag":624,"props":2109,"children":2111},{"className":626,"code":2110,"language":628,"meta":8,"style":8},"import unittest\n\n# Simple functions to demonstrate testing\ndef add_numbers(a, b):\n    \"\"\"Add two numbers together.\"\"\"\n    return a + b\n\ndef divide_numbers(a, b):\n    \"\"\"Divide first number by second number.\"\"\"\n    if b == 0:\n        raise ZeroDivisionError(\"Cannot divide by zero\")\n    return a / b\n\ndef get_grade(score):\n    \"\"\"Convert numeric score to letter grade.\"\"\"\n    if score \u003C 0 or score > 100:\n        raise ValueError(\"Score must be between 0 and 100\")\n    \n    if score >= 90:\n        return \"A\"\n    elif score >= 80:\n        return \"B\"\n    elif score >= 70:\n        return \"C\"\n    elif score >= 60:\n        return \"D\"\n    else:\n        return \"F\"\n\nclass TestBasicOperations(unittest.TestCase):\n    \"\"\"Basic unit test examples.\"\"\"\n    \n    def test_add_positive_numbers(self):\n        \"\"\"Test adding positive numbers.\"\"\"\n        # Arrange\n        a, b = 3, 5\n        \n        # Act\n        result = add_numbers(a, b)\n        \n        # Assert\n        self.assertEqual(result, 8)\n    \n    def test_add_negative_numbers(self):\n        \"\"\"Test adding negative numbers.\"\"\"\n        result = add_numbers(-2, -3)\n        self.assertEqual(result, -5)\n    \n    def test_divide_normal_case(self):\n        \"\"\"Test normal division.\"\"\"\n        result = divide_numbers(10, 2)\n        self.assertEqual(result, 5.0)\n    \n    def test_divide_by_zero_raises_error(self):\n        \"\"\"Test that dividing by zero raises an error.\"\"\"\n        with self.assertRaises(ZeroDivisionError):\n            divide_numbers(10, 0)\n    \n    def test_grade_a_range(self):\n        \"\"\"Test A grade assignments.\"\"\"\n        self.assertEqual(get_grade(95), \"A\")\n        self.assertEqual(get_grade(90), \"A\")\n        self.assertEqual(get_grade(100), \"A\")\n    \n    def test_grade_boundary_cases(self):\n        \"\"\"Test grade boundaries.\"\"\"\n        self.assertEqual(get_grade(89), \"B\")  # Just below A\n        self.assertEqual(get_grade(90), \"A\")  # Just at A\n        self.assertEqual(get_grade(79), \"C\")  # Just below B\n        self.assertEqual(get_grade(80), \"B\")  # Just at B\n    \n    def test_grade_invalid_score(self):\n        \"\"\"Test invalid scores raise errors.\"\"\"\n        with self.assertRaises(ValueError):\n            get_grade(-5)\n        \n        with self.assertRaises(ValueError):\n            get_grade(105)\n\n# Manual test runner for demonstration\ndef run_simple_tests():\n    \"\"\"Run tests manually for demonstration.\"\"\"\n    \n    print(\"Running Unit Tests:\")\n    print(\"=\" * 40)\n    \n    # Test 1: Addition\n    try:\n        assert add_numbers(3, 5) == 8\n        print(\"✓ Addition test passed\")\n    except AssertionError:\n        print(\"✗ Addition test failed\")\n    \n    # Test 2: Division\n    try:\n        assert divide_numbers(10, 2) == 5.0\n        print(\"✓ Division test passed\")\n    except AssertionError:\n        print(\"✗ Division test failed\")\n    \n    # Test 3: Error handling\n    try:\n        divide_numbers(10, 0)\n        print(\"✗ Error handling test failed - should have raised error\")\n    except ZeroDivisionError:\n        print(\"✓ Error handling test passed\")\n    \n    # Test 4: Grade calculation\n    try:\n        assert get_grade(95) == \"A\"\n        assert get_grade(85) == \"B\"\n        assert get_grade(75) == \"C\"\n        print(\"✓ Grade calculation tests passed\")\n    except AssertionError:\n        print(\"✗ Grade calculation tests failed\")\n\nrun_simple_tests()\n",[2112],{"type":606,"tag":631,"props":2113,"children":2114},{"__ignoreMap":8},[2115,2126,2133,2141,2158,2166,2188,2195,2211,2219,2244,2269,2289,2296,2313,2321,2363,2387,2394,2419,2432,2457,2469,2493,2505,2529,2541,2553,2565,2572,2604,2612,2619,2635,2643,2651,2677,2685,2693,2709,2716,2724,2744,2751,2767,2775,2815,2838,2845,2861,2869,2902,2922,2929,2945,2953,2977,3001,3008,3024,3032,3063,3091,3119,3126,3142,3150,3185,3217,3251,3284,3291,3307,3315,3338,3358,3365,3389,3406,3414,3423,3441,3450,3458,3480,3511,3519,3528,3541,3580,3602,3620,3641,3649,3658,3670,3707,3728,3744,3765,3773,3782,3794,3819,3840,3856,3877,3885,3894,3906,3935,3964,3993,4014,4030,4051,4059],{"type":606,"tag":635,"props":2116,"children":2117},{"class":637,"line":12},[2118,2122],{"type":606,"tag":635,"props":2119,"children":2120},{"style":641},[2121],{"type":611,"value":644},{"type":606,"tag":635,"props":2123,"children":2124},{"style":647},[2125],{"type":611,"value":650},{"type":606,"tag":635,"props":2127,"children":2128},{"class":637,"line":27},[2129],{"type":606,"tag":635,"props":2130,"children":2131},{"emptyLinePlaceholder":13},[2132],{"type":611,"value":658},{"type":606,"tag":635,"props":2134,"children":2135},{"class":637,"line":36},[2136],{"type":606,"tag":635,"props":2137,"children":2138},{"style":664},[2139],{"type":611,"value":2140},"# Simple functions to demonstrate testing\n",{"type":606,"tag":635,"props":2142,"children":2143},{"class":637,"line":45},[2144,2148,2153],{"type":606,"tag":635,"props":2145,"children":2146},{"style":641},[2147],{"type":611,"value":675},{"type":606,"tag":635,"props":2149,"children":2150},{"style":678},[2151],{"type":611,"value":2152}," add_numbers",{"type":606,"tag":635,"props":2154,"children":2155},{"style":647},[2156],{"type":611,"value":2157},"(a, b):\n",{"type":606,"tag":635,"props":2159,"children":2160},{"class":637,"line":54},[2161],{"type":606,"tag":635,"props":2162,"children":2163},{"style":692},[2164],{"type":611,"value":2165},"    \"\"\"Add two numbers together.\"\"\"\n",{"type":606,"tag":635,"props":2167,"children":2168},{"class":637,"line":63},[2169,2173,2178,2183],{"type":606,"tag":635,"props":2170,"children":2171},{"style":641},[2172],{"type":611,"value":778},{"type":606,"tag":635,"props":2174,"children":2175},{"style":647},[2176],{"type":611,"value":2177}," a ",{"type":606,"tag":635,"props":2179,"children":2180},{"style":641},[2181],{"type":611,"value":2182},"+",{"type":606,"tag":635,"props":2184,"children":2185},{"style":647},[2186],{"type":611,"value":2187}," b\n",{"type":606,"tag":635,"props":2189,"children":2190},{"class":637,"line":72},[2191],{"type":606,"tag":635,"props":2192,"children":2193},{"emptyLinePlaceholder":13},[2194],{"type":611,"value":658},{"type":606,"tag":635,"props":2196,"children":2197},{"class":637,"line":81},[2198,2202,2207],{"type":606,"tag":635,"props":2199,"children":2200},{"style":641},[2201],{"type":611,"value":675},{"type":606,"tag":635,"props":2203,"children":2204},{"style":678},[2205],{"type":611,"value":2206}," divide_numbers",{"type":606,"tag":635,"props":2208,"children":2209},{"style":647},[2210],{"type":611,"value":2157},{"type":606,"tag":635,"props":2212,"children":2213},{"class":637,"line":795},[2214],{"type":606,"tag":635,"props":2215,"children":2216},{"style":692},[2217],{"type":611,"value":2218},"    \"\"\"Divide first number by second number.\"\"\"\n",{"type":606,"tag":635,"props":2220,"children":2221},{"class":637,"line":99},[2222,2226,2231,2236,2240],{"type":606,"tag":635,"props":2223,"children":2224},{"style":641},[2225],{"type":611,"value":703},{"type":606,"tag":635,"props":2227,"children":2228},{"style":647},[2229],{"type":611,"value":2230}," b ",{"type":606,"tag":635,"props":2232,"children":2233},{"style":641},[2234],{"type":611,"value":2235},"==",{"type":606,"tag":635,"props":2237,"children":2238},{"style":716},[2239],{"type":611,"value":719},{"type":606,"tag":635,"props":2241,"children":2242},{"style":647},[2243],{"type":611,"value":742},{"type":606,"tag":635,"props":2245,"children":2246},{"class":637,"line":108},[2247,2251,2256,2260,2265],{"type":606,"tag":635,"props":2248,"children":2249},{"style":641},[2250],{"type":611,"value":750},{"type":606,"tag":635,"props":2252,"children":2253},{"style":716},[2254],{"type":611,"value":2255}," ZeroDivisionError",{"type":606,"tag":635,"props":2257,"children":2258},{"style":647},[2259],{"type":611,"value":760},{"type":606,"tag":635,"props":2261,"children":2262},{"style":692},[2263],{"type":611,"value":2264},"\"Cannot divide by zero\"",{"type":606,"tag":635,"props":2266,"children":2267},{"style":647},[2268],{"type":611,"value":770},{"type":606,"tag":635,"props":2270,"children":2271},{"class":637,"line":117},[2272,2276,2280,2285],{"type":606,"tag":635,"props":2273,"children":2274},{"style":641},[2275],{"type":611,"value":778},{"type":606,"tag":635,"props":2277,"children":2278},{"style":647},[2279],{"type":611,"value":2177},{"type":606,"tag":635,"props":2281,"children":2282},{"style":641},[2283],{"type":611,"value":2284},"/",{"type":606,"tag":635,"props":2286,"children":2287},{"style":647},[2288],{"type":611,"value":2187},{"type":606,"tag":635,"props":2290,"children":2291},{"class":637,"line":126},[2292],{"type":606,"tag":635,"props":2293,"children":2294},{"emptyLinePlaceholder":13},[2295],{"type":611,"value":658},{"type":606,"tag":635,"props":2297,"children":2298},{"class":637,"line":135},[2299,2303,2308],{"type":606,"tag":635,"props":2300,"children":2301},{"style":641},[2302],{"type":611,"value":675},{"type":606,"tag":635,"props":2304,"children":2305},{"style":678},[2306],{"type":611,"value":2307}," get_grade",{"type":606,"tag":635,"props":2309,"children":2310},{"style":647},[2311],{"type":611,"value":2312},"(score):\n",{"type":606,"tag":635,"props":2314,"children":2315},{"class":637,"line":144},[2316],{"type":606,"tag":635,"props":2317,"children":2318},{"style":692},[2319],{"type":611,"value":2320},"    \"\"\"Convert numeric score to letter grade.\"\"\"\n",{"type":606,"tag":635,"props":2322,"children":2323},{"class":637,"line":153},[2324,2328,2333,2337,2341,2345,2349,2354,2359],{"type":606,"tag":635,"props":2325,"children":2326},{"style":641},[2327],{"type":611,"value":703},{"type":606,"tag":635,"props":2329,"children":2330},{"style":647},[2331],{"type":611,"value":2332}," score ",{"type":606,"tag":635,"props":2334,"children":2335},{"style":641},[2336],{"type":611,"value":713},{"type":606,"tag":635,"props":2338,"children":2339},{"style":716},[2340],{"type":611,"value":719},{"type":606,"tag":635,"props":2342,"children":2343},{"style":641},[2344],{"type":611,"value":724},{"type":606,"tag":635,"props":2346,"children":2347},{"style":647},[2348],{"type":611,"value":2332},{"type":606,"tag":635,"props":2350,"children":2351},{"style":641},[2352],{"type":611,"value":2353},">",{"type":606,"tag":635,"props":2355,"children":2356},{"style":716},[2357],{"type":611,"value":2358}," 100",{"type":606,"tag":635,"props":2360,"children":2361},{"style":647},[2362],{"type":611,"value":742},{"type":606,"tag":635,"props":2364,"children":2365},{"class":637,"line":163},[2366,2370,2374,2378,2383],{"type":606,"tag":635,"props":2367,"children":2368},{"style":641},[2369],{"type":611,"value":750},{"type":606,"tag":635,"props":2371,"children":2372},{"style":716},[2373],{"type":611,"value":755},{"type":606,"tag":635,"props":2375,"children":2376},{"style":647},[2377],{"type":611,"value":760},{"type":606,"tag":635,"props":2379,"children":2380},{"style":692},[2381],{"type":611,"value":2382},"\"Score must be between 0 and 100\"",{"type":606,"tag":635,"props":2384,"children":2385},{"style":647},[2386],{"type":611,"value":770},{"type":606,"tag":635,"props":2388,"children":2389},{"class":637,"line":172},[2390],{"type":606,"tag":635,"props":2391,"children":2392},{"style":647},[2393],{"type":611,"value":1063},{"type":606,"tag":635,"props":2395,"children":2396},{"class":637,"line":181},[2397,2401,2405,2410,2415],{"type":606,"tag":635,"props":2398,"children":2399},{"style":641},[2400],{"type":611,"value":703},{"type":606,"tag":635,"props":2402,"children":2403},{"style":647},[2404],{"type":611,"value":2332},{"type":606,"tag":635,"props":2406,"children":2407},{"style":641},[2408],{"type":611,"value":2409},">=",{"type":606,"tag":635,"props":2411,"children":2412},{"style":716},[2413],{"type":611,"value":2414}," 90",{"type":606,"tag":635,"props":2416,"children":2417},{"style":647},[2418],{"type":611,"value":742},{"type":606,"tag":635,"props":2420,"children":2421},{"class":637,"line":190},[2422,2427],{"type":606,"tag":635,"props":2423,"children":2424},{"style":641},[2425],{"type":611,"value":2426},"        return",{"type":606,"tag":635,"props":2428,"children":2429},{"style":692},[2430],{"type":611,"value":2431}," \"A\"\n",{"type":606,"tag":635,"props":2433,"children":2434},{"class":637,"line":199},[2435,2440,2444,2448,2453],{"type":606,"tag":635,"props":2436,"children":2437},{"style":641},[2438],{"type":611,"value":2439},"    elif",{"type":606,"tag":635,"props":2441,"children":2442},{"style":647},[2443],{"type":611,"value":2332},{"type":606,"tag":635,"props":2445,"children":2446},{"style":641},[2447],{"type":611,"value":2409},{"type":606,"tag":635,"props":2449,"children":2450},{"style":716},[2451],{"type":611,"value":2452}," 80",{"type":606,"tag":635,"props":2454,"children":2455},{"style":647},[2456],{"type":611,"value":742},{"type":606,"tag":635,"props":2458,"children":2459},{"class":637,"line":208},[2460,2464],{"type":606,"tag":635,"props":2461,"children":2462},{"style":641},[2463],{"type":611,"value":2426},{"type":606,"tag":635,"props":2465,"children":2466},{"style":692},[2467],{"type":611,"value":2468}," \"B\"\n",{"type":606,"tag":635,"props":2470,"children":2471},{"class":637,"line":217},[2472,2476,2480,2484,2489],{"type":606,"tag":635,"props":2473,"children":2474},{"style":641},[2475],{"type":611,"value":2439},{"type":606,"tag":635,"props":2477,"children":2478},{"style":647},[2479],{"type":611,"value":2332},{"type":606,"tag":635,"props":2481,"children":2482},{"style":641},[2483],{"type":611,"value":2409},{"type":606,"tag":635,"props":2485,"children":2486},{"style":716},[2487],{"type":611,"value":2488}," 70",{"type":606,"tag":635,"props":2490,"children":2491},{"style":647},[2492],{"type":611,"value":742},{"type":606,"tag":635,"props":2494,"children":2495},{"class":637,"line":227},[2496,2500],{"type":606,"tag":635,"props":2497,"children":2498},{"style":641},[2499],{"type":611,"value":2426},{"type":606,"tag":635,"props":2501,"children":2502},{"style":692},[2503],{"type":611,"value":2504}," \"C\"\n",{"type":606,"tag":635,"props":2506,"children":2507},{"class":637,"line":236},[2508,2512,2516,2520,2525],{"type":606,"tag":635,"props":2509,"children":2510},{"style":641},[2511],{"type":611,"value":2439},{"type":606,"tag":635,"props":2513,"children":2514},{"style":647},[2515],{"type":611,"value":2332},{"type":606,"tag":635,"props":2517,"children":2518},{"style":641},[2519],{"type":611,"value":2409},{"type":606,"tag":635,"props":2521,"children":2522},{"style":716},[2523],{"type":611,"value":2524}," 60",{"type":606,"tag":635,"props":2526,"children":2527},{"style":647},[2528],{"type":611,"value":742},{"type":606,"tag":635,"props":2530,"children":2531},{"class":637,"line":245},[2532,2536],{"type":606,"tag":635,"props":2533,"children":2534},{"style":641},[2535],{"type":611,"value":2426},{"type":606,"tag":635,"props":2537,"children":2538},{"style":692},[2539],{"type":611,"value":2540}," \"D\"\n",{"type":606,"tag":635,"props":2542,"children":2543},{"class":637,"line":254},[2544,2549],{"type":606,"tag":635,"props":2545,"children":2546},{"style":641},[2547],{"type":611,"value":2548},"    else",{"type":606,"tag":635,"props":2550,"children":2551},{"style":647},[2552],{"type":611,"value":742},{"type":606,"tag":635,"props":2554,"children":2555},{"class":637,"line":263},[2556,2560],{"type":606,"tag":635,"props":2557,"children":2558},{"style":641},[2559],{"type":611,"value":2426},{"type":606,"tag":635,"props":2561,"children":2562},{"style":692},[2563],{"type":611,"value":2564}," \"F\"\n",{"type":606,"tag":635,"props":2566,"children":2567},{"class":637,"line":272},[2568],{"type":606,"tag":635,"props":2569,"children":2570},{"emptyLinePlaceholder":13},[2571],{"type":611,"value":658},{"type":606,"tag":635,"props":2573,"children":2574},{"class":637,"line":281},[2575,2579,2584,2588,2592,2596,2600],{"type":606,"tag":635,"props":2576,"children":2577},{"style":641},[2578],{"type":611,"value":1018},{"type":606,"tag":635,"props":2580,"children":2581},{"style":678},[2582],{"type":611,"value":2583}," TestBasicOperations",{"type":606,"tag":635,"props":2585,"children":2586},{"style":647},[2587],{"type":611,"value":760},{"type":606,"tag":635,"props":2589,"children":2590},{"style":678},[2591],{"type":611,"value":1032},{"type":606,"tag":635,"props":2593,"children":2594},{"style":647},[2595],{"type":611,"value":1037},{"type":606,"tag":635,"props":2597,"children":2598},{"style":678},[2599],{"type":611,"value":1042},{"type":606,"tag":635,"props":2601,"children":2602},{"style":647},[2603],{"type":611,"value":1047},{"type":606,"tag":635,"props":2605,"children":2606},{"class":637,"line":291},[2607],{"type":606,"tag":635,"props":2608,"children":2609},{"style":692},[2610],{"type":611,"value":2611},"    \"\"\"Basic unit test examples.\"\"\"\n",{"type":606,"tag":635,"props":2613,"children":2614},{"class":637,"line":302},[2615],{"type":606,"tag":635,"props":2616,"children":2617},{"style":647},[2618],{"type":611,"value":1063},{"type":606,"tag":635,"props":2620,"children":2621},{"class":637,"line":311},[2622,2626,2631],{"type":606,"tag":635,"props":2623,"children":2624},{"style":641},[2625],{"type":611,"value":1071},{"type":606,"tag":635,"props":2627,"children":2628},{"style":678},[2629],{"type":611,"value":2630}," test_add_positive_numbers",{"type":606,"tag":635,"props":2632,"children":2633},{"style":647},[2634],{"type":611,"value":1081},{"type":606,"tag":635,"props":2636,"children":2637},{"class":637,"line":320},[2638],{"type":606,"tag":635,"props":2639,"children":2640},{"style":692},[2641],{"type":611,"value":2642},"        \"\"\"Test adding positive numbers.\"\"\"\n",{"type":606,"tag":635,"props":2644,"children":2645},{"class":637,"line":329},[2646],{"type":606,"tag":635,"props":2647,"children":2648},{"style":664},[2649],{"type":611,"value":2650},"        # Arrange\n",{"type":606,"tag":635,"props":2652,"children":2653},{"class":637,"line":338},[2654,2659,2663,2668,2672],{"type":606,"tag":635,"props":2655,"children":2656},{"style":647},[2657],{"type":611,"value":2658},"        a, b ",{"type":606,"tag":635,"props":2660,"children":2661},{"style":641},[2662],{"type":611,"value":1102},{"type":606,"tag":635,"props":2664,"children":2665},{"style":716},[2666],{"type":611,"value":2667}," 3",{"type":606,"tag":635,"props":2669,"children":2670},{"style":647},[2671],{"type":611,"value":1117},{"type":606,"tag":635,"props":2673,"children":2674},{"style":716},[2675],{"type":611,"value":2676},"5\n",{"type":606,"tag":635,"props":2678,"children":2679},{"class":637,"line":347},[2680],{"type":606,"tag":635,"props":2681,"children":2682},{"style":647},[2683],{"type":611,"value":2684},"        \n",{"type":606,"tag":635,"props":2686,"children":2687},{"class":637,"line":356},[2688],{"type":606,"tag":635,"props":2689,"children":2690},{"style":664},[2691],{"type":611,"value":2692},"        # Act\n",{"type":606,"tag":635,"props":2694,"children":2695},{"class":637,"line":367},[2696,2700,2704],{"type":606,"tag":635,"props":2697,"children":2698},{"style":647},[2699],{"type":611,"value":1097},{"type":606,"tag":635,"props":2701,"children":2702},{"style":641},[2703],{"type":611,"value":1102},{"type":606,"tag":635,"props":2705,"children":2706},{"style":647},[2707],{"type":611,"value":2708}," add_numbers(a, b)\n",{"type":606,"tag":635,"props":2710,"children":2711},{"class":637,"line":376},[2712],{"type":606,"tag":635,"props":2713,"children":2714},{"style":647},[2715],{"type":611,"value":2684},{"type":606,"tag":635,"props":2717,"children":2718},{"class":637,"line":385},[2719],{"type":606,"tag":635,"props":2720,"children":2721},{"style":664},[2722],{"type":611,"value":2723},"        # Assert\n",{"type":606,"tag":635,"props":2725,"children":2726},{"class":637,"line":394},[2727,2731,2735,2740],{"type":606,"tag":635,"props":2728,"children":2729},{"style":716},[2730],{"type":611,"value":1134},{"type":606,"tag":635,"props":2732,"children":2733},{"style":647},[2734],{"type":611,"value":1139},{"type":606,"tag":635,"props":2736,"children":2737},{"style":716},[2738],{"type":611,"value":2739},"8",{"type":606,"tag":635,"props":2741,"children":2742},{"style":647},[2743],{"type":611,"value":770},{"type":606,"tag":635,"props":2745,"children":2746},{"class":637,"line":403},[2747],{"type":606,"tag":635,"props":2748,"children":2749},{"style":647},[2750],{"type":611,"value":1063},{"type":606,"tag":635,"props":2752,"children":2753},{"class":637,"line":412},[2754,2758,2763],{"type":606,"tag":635,"props":2755,"children":2756},{"style":641},[2757],{"type":611,"value":1071},{"type":606,"tag":635,"props":2759,"children":2760},{"style":678},[2761],{"type":611,"value":2762}," test_add_negative_numbers",{"type":606,"tag":635,"props":2764,"children":2765},{"style":647},[2766],{"type":611,"value":1081},{"type":606,"tag":635,"props":2768,"children":2769},{"class":637,"line":423},[2770],{"type":606,"tag":635,"props":2771,"children":2772},{"style":692},[2773],{"type":611,"value":2774},"        \"\"\"Test adding negative numbers.\"\"\"\n",{"type":606,"tag":635,"props":2776,"children":2777},{"class":637,"line":432},[2778,2782,2786,2791,2795,2799,2803,2807,2811],{"type":606,"tag":635,"props":2779,"children":2780},{"style":647},[2781],{"type":611,"value":1097},{"type":606,"tag":635,"props":2783,"children":2784},{"style":641},[2785],{"type":611,"value":1102},{"type":606,"tag":635,"props":2787,"children":2788},{"style":647},[2789],{"type":611,"value":2790}," add_numbers(",{"type":606,"tag":635,"props":2792,"children":2793},{"style":641},[2794],{"type":611,"value":1301},{"type":606,"tag":635,"props":2796,"children":2797},{"style":716},[2798],{"type":611,"value":1409},{"type":606,"tag":635,"props":2800,"children":2801},{"style":647},[2802],{"type":611,"value":1117},{"type":606,"tag":635,"props":2804,"children":2805},{"style":641},[2806],{"type":611,"value":1301},{"type":606,"tag":635,"props":2808,"children":2809},{"style":716},[2810],{"type":611,"value":1122},{"type":606,"tag":635,"props":2812,"children":2813},{"style":647},[2814],{"type":611,"value":770},{"type":606,"tag":635,"props":2816,"children":2817},{"class":637,"line":441},[2818,2822,2826,2830,2834],{"type":606,"tag":635,"props":2819,"children":2820},{"style":716},[2821],{"type":611,"value":1134},{"type":606,"tag":635,"props":2823,"children":2824},{"style":647},[2825],{"type":611,"value":1139},{"type":606,"tag":635,"props":2827,"children":2828},{"style":641},[2829],{"type":611,"value":1301},{"type":606,"tag":635,"props":2831,"children":2832},{"style":716},[2833],{"type":611,"value":1112},{"type":606,"tag":635,"props":2835,"children":2836},{"style":647},[2837],{"type":611,"value":770},{"type":606,"tag":635,"props":2839,"children":2840},{"class":637,"line":450},[2841],{"type":606,"tag":635,"props":2842,"children":2843},{"style":647},[2844],{"type":611,"value":1063},{"type":606,"tag":635,"props":2846,"children":2847},{"class":637,"line":459},[2848,2852,2857],{"type":606,"tag":635,"props":2849,"children":2850},{"style":641},[2851],{"type":611,"value":1071},{"type":606,"tag":635,"props":2853,"children":2854},{"style":678},[2855],{"type":611,"value":2856}," test_divide_normal_case",{"type":606,"tag":635,"props":2858,"children":2859},{"style":647},[2860],{"type":611,"value":1081},{"type":606,"tag":635,"props":2862,"children":2863},{"class":637,"line":468},[2864],{"type":606,"tag":635,"props":2865,"children":2866},{"style":692},[2867],{"type":611,"value":2868},"        \"\"\"Test normal division.\"\"\"\n",{"type":606,"tag":635,"props":2870,"children":2871},{"class":637,"line":477},[2872,2876,2880,2885,2890,2894,2898],{"type":606,"tag":635,"props":2873,"children":2874},{"style":647},[2875],{"type":611,"value":1097},{"type":606,"tag":635,"props":2877,"children":2878},{"style":641},[2879],{"type":611,"value":1102},{"type":606,"tag":635,"props":2881,"children":2882},{"style":647},[2883],{"type":611,"value":2884}," divide_numbers(",{"type":606,"tag":635,"props":2886,"children":2887},{"style":716},[2888],{"type":611,"value":2889},"10",{"type":606,"tag":635,"props":2891,"children":2892},{"style":647},[2893],{"type":611,"value":1117},{"type":606,"tag":635,"props":2895,"children":2896},{"style":716},[2897],{"type":611,"value":1409},{"type":606,"tag":635,"props":2899,"children":2900},{"style":647},[2901],{"type":611,"value":770},{"type":606,"tag":635,"props":2903,"children":2904},{"class":637,"line":488},[2905,2909,2913,2918],{"type":606,"tag":635,"props":2906,"children":2907},{"style":716},[2908],{"type":611,"value":1134},{"type":606,"tag":635,"props":2910,"children":2911},{"style":647},[2912],{"type":611,"value":1139},{"type":606,"tag":635,"props":2914,"children":2915},{"style":716},[2916],{"type":611,"value":2917},"5.0",{"type":606,"tag":635,"props":2919,"children":2920},{"style":647},[2921],{"type":611,"value":770},{"type":606,"tag":635,"props":2923,"children":2924},{"class":637,"line":497},[2925],{"type":606,"tag":635,"props":2926,"children":2927},{"style":647},[2928],{"type":611,"value":1063},{"type":606,"tag":635,"props":2930,"children":2931},{"class":637,"line":506},[2932,2936,2941],{"type":606,"tag":635,"props":2933,"children":2934},{"style":641},[2935],{"type":611,"value":1071},{"type":606,"tag":635,"props":2937,"children":2938},{"style":678},[2939],{"type":611,"value":2940}," test_divide_by_zero_raises_error",{"type":606,"tag":635,"props":2942,"children":2943},{"style":647},[2944],{"type":611,"value":1081},{"type":606,"tag":635,"props":2946,"children":2947},{"class":637,"line":515},[2948],{"type":606,"tag":635,"props":2949,"children":2950},{"style":692},[2951],{"type":611,"value":2952},"        \"\"\"Test that dividing by zero raises an error.\"\"\"\n",{"type":606,"tag":635,"props":2954,"children":2955},{"class":637,"line":524},[2956,2960,2964,2968,2973],{"type":606,"tag":635,"props":2957,"children":2958},{"style":641},[2959],{"type":611,"value":1269},{"type":606,"tag":635,"props":2961,"children":2962},{"style":716},[2963],{"type":611,"value":1274},{"type":606,"tag":635,"props":2965,"children":2966},{"style":647},[2967],{"type":611,"value":1279},{"type":606,"tag":635,"props":2969,"children":2970},{"style":716},[2971],{"type":611,"value":2972},"ZeroDivisionError",{"type":606,"tag":635,"props":2974,"children":2975},{"style":647},[2976],{"type":611,"value":1047},{"type":606,"tag":635,"props":2978,"children":2979},{"class":637,"line":533},[2980,2985,2989,2993,2997],{"type":606,"tag":635,"props":2981,"children":2982},{"style":647},[2983],{"type":611,"value":2984},"            divide_numbers(",{"type":606,"tag":635,"props":2986,"children":2987},{"style":716},[2988],{"type":611,"value":2889},{"type":606,"tag":635,"props":2990,"children":2991},{"style":647},[2992],{"type":611,"value":1117},{"type":606,"tag":635,"props":2994,"children":2995},{"style":716},[2996],{"type":611,"value":1199},{"type":606,"tag":635,"props":2998,"children":2999},{"style":647},[3000],{"type":611,"value":770},{"type":606,"tag":635,"props":3002,"children":3003},{"class":637,"line":544},[3004],{"type":606,"tag":635,"props":3005,"children":3006},{"style":647},[3007],{"type":611,"value":1063},{"type":606,"tag":635,"props":3009,"children":3010},{"class":637,"line":553},[3011,3015,3020],{"type":606,"tag":635,"props":3012,"children":3013},{"style":641},[3014],{"type":611,"value":1071},{"type":606,"tag":635,"props":3016,"children":3017},{"style":678},[3018],{"type":611,"value":3019}," test_grade_a_range",{"type":606,"tag":635,"props":3021,"children":3022},{"style":647},[3023],{"type":611,"value":1081},{"type":606,"tag":635,"props":3025,"children":3026},{"class":637,"line":562},[3027],{"type":606,"tag":635,"props":3028,"children":3029},{"style":692},[3030],{"type":611,"value":3031},"        \"\"\"Test A grade assignments.\"\"\"\n",{"type":606,"tag":635,"props":3033,"children":3034},{"class":637,"line":571},[3035,3039,3044,3049,3054,3059],{"type":606,"tag":635,"props":3036,"children":3037},{"style":716},[3038],{"type":611,"value":1134},{"type":606,"tag":635,"props":3040,"children":3041},{"style":647},[3042],{"type":611,"value":3043},".assertEqual(get_grade(",{"type":606,"tag":635,"props":3045,"children":3046},{"style":716},[3047],{"type":611,"value":3048},"95",{"type":606,"tag":635,"props":3050,"children":3051},{"style":647},[3052],{"type":611,"value":3053},"), ",{"type":606,"tag":635,"props":3055,"children":3056},{"style":692},[3057],{"type":611,"value":3058},"\"A\"",{"type":606,"tag":635,"props":3060,"children":3061},{"style":647},[3062],{"type":611,"value":770},{"type":606,"tag":635,"props":3064,"children":3065},{"class":637,"line":580},[3066,3070,3074,3079,3083,3087],{"type":606,"tag":635,"props":3067,"children":3068},{"style":716},[3069],{"type":611,"value":1134},{"type":606,"tag":635,"props":3071,"children":3072},{"style":647},[3073],{"type":611,"value":3043},{"type":606,"tag":635,"props":3075,"children":3076},{"style":716},[3077],{"type":611,"value":3078},"90",{"type":606,"tag":635,"props":3080,"children":3081},{"style":647},[3082],{"type":611,"value":3053},{"type":606,"tag":635,"props":3084,"children":3085},{"style":692},[3086],{"type":611,"value":3058},{"type":606,"tag":635,"props":3088,"children":3089},{"style":647},[3090],{"type":611,"value":770},{"type":606,"tag":635,"props":3092,"children":3093},{"class":637,"line":589},[3094,3098,3102,3107,3111,3115],{"type":606,"tag":635,"props":3095,"children":3096},{"style":716},[3097],{"type":611,"value":1134},{"type":606,"tag":635,"props":3099,"children":3100},{"style":647},[3101],{"type":611,"value":3043},{"type":606,"tag":635,"props":3103,"children":3104},{"style":716},[3105],{"type":611,"value":3106},"100",{"type":606,"tag":635,"props":3108,"children":3109},{"style":647},[3110],{"type":611,"value":3053},{"type":606,"tag":635,"props":3112,"children":3113},{"style":692},[3114],{"type":611,"value":3058},{"type":606,"tag":635,"props":3116,"children":3117},{"style":647},[3118],{"type":611,"value":770},{"type":606,"tag":635,"props":3120,"children":3121},{"class":637,"line":1733},[3122],{"type":606,"tag":635,"props":3123,"children":3124},{"style":647},[3125],{"type":611,"value":1063},{"type":606,"tag":635,"props":3127,"children":3128},{"class":637,"line":1750},[3129,3133,3138],{"type":606,"tag":635,"props":3130,"children":3131},{"style":641},[3132],{"type":611,"value":1071},{"type":606,"tag":635,"props":3134,"children":3135},{"style":678},[3136],{"type":611,"value":3137}," test_grade_boundary_cases",{"type":606,"tag":635,"props":3139,"children":3140},{"style":647},[3141],{"type":611,"value":1081},{"type":606,"tag":635,"props":3143,"children":3144},{"class":637,"line":1759},[3145],{"type":606,"tag":635,"props":3146,"children":3147},{"style":692},[3148],{"type":611,"value":3149},"        \"\"\"Test grade boundaries.\"\"\"\n",{"type":606,"tag":635,"props":3151,"children":3152},{"class":637,"line":1783},[3153,3157,3161,3166,3170,3175,3180],{"type":606,"tag":635,"props":3154,"children":3155},{"style":716},[3156],{"type":611,"value":1134},{"type":606,"tag":635,"props":3158,"children":3159},{"style":647},[3160],{"type":611,"value":3043},{"type":606,"tag":635,"props":3162,"children":3163},{"style":716},[3164],{"type":611,"value":3165},"89",{"type":606,"tag":635,"props":3167,"children":3168},{"style":647},[3169],{"type":611,"value":3053},{"type":606,"tag":635,"props":3171,"children":3172},{"style":692},[3173],{"type":611,"value":3174},"\"B\"",{"type":606,"tag":635,"props":3176,"children":3177},{"style":647},[3178],{"type":611,"value":3179},")  ",{"type":606,"tag":635,"props":3181,"children":3182},{"style":664},[3183],{"type":611,"value":3184},"# Just below A\n",{"type":606,"tag":635,"props":3186,"children":3187},{"class":637,"line":1809},[3188,3192,3196,3200,3204,3208,3212],{"type":606,"tag":635,"props":3189,"children":3190},{"style":716},[3191],{"type":611,"value":1134},{"type":606,"tag":635,"props":3193,"children":3194},{"style":647},[3195],{"type":611,"value":3043},{"type":606,"tag":635,"props":3197,"children":3198},{"style":716},[3199],{"type":611,"value":3078},{"type":606,"tag":635,"props":3201,"children":3202},{"style":647},[3203],{"type":611,"value":3053},{"type":606,"tag":635,"props":3205,"children":3206},{"style":692},[3207],{"type":611,"value":3058},{"type":606,"tag":635,"props":3209,"children":3210},{"style":647},[3211],{"type":611,"value":3179},{"type":606,"tag":635,"props":3213,"children":3214},{"style":664},[3215],{"type":611,"value":3216},"# Just at A\n",{"type":606,"tag":635,"props":3218,"children":3219},{"class":637,"line":1817},[3220,3224,3228,3233,3237,3242,3246],{"type":606,"tag":635,"props":3221,"children":3222},{"style":716},[3223],{"type":611,"value":1134},{"type":606,"tag":635,"props":3225,"children":3226},{"style":647},[3227],{"type":611,"value":3043},{"type":606,"tag":635,"props":3229,"children":3230},{"style":716},[3231],{"type":611,"value":3232},"79",{"type":606,"tag":635,"props":3234,"children":3235},{"style":647},[3236],{"type":611,"value":3053},{"type":606,"tag":635,"props":3238,"children":3239},{"style":692},[3240],{"type":611,"value":3241},"\"C\"",{"type":606,"tag":635,"props":3243,"children":3244},{"style":647},[3245],{"type":611,"value":3179},{"type":606,"tag":635,"props":3247,"children":3248},{"style":664},[3249],{"type":611,"value":3250},"# Just below B\n",{"type":606,"tag":635,"props":3252,"children":3253},{"class":637,"line":1834},[3254,3258,3262,3267,3271,3275,3279],{"type":606,"tag":635,"props":3255,"children":3256},{"style":716},[3257],{"type":611,"value":1134},{"type":606,"tag":635,"props":3259,"children":3260},{"style":647},[3261],{"type":611,"value":3043},{"type":606,"tag":635,"props":3263,"children":3264},{"style":716},[3265],{"type":611,"value":3266},"80",{"type":606,"tag":635,"props":3268,"children":3269},{"style":647},[3270],{"type":611,"value":3053},{"type":606,"tag":635,"props":3272,"children":3273},{"style":692},[3274],{"type":611,"value":3174},{"type":606,"tag":635,"props":3276,"children":3277},{"style":647},[3278],{"type":611,"value":3179},{"type":606,"tag":635,"props":3280,"children":3281},{"style":664},[3282],{"type":611,"value":3283},"# Just at B\n",{"type":606,"tag":635,"props":3285,"children":3286},{"class":637,"line":1843},[3287],{"type":606,"tag":635,"props":3288,"children":3289},{"style":647},[3290],{"type":611,"value":1063},{"type":606,"tag":635,"props":3292,"children":3293},{"class":637,"line":1867},[3294,3298,3303],{"type":606,"tag":635,"props":3295,"children":3296},{"style":641},[3297],{"type":611,"value":1071},{"type":606,"tag":635,"props":3299,"children":3300},{"style":678},[3301],{"type":611,"value":3302}," test_grade_invalid_score",{"type":606,"tag":635,"props":3304,"children":3305},{"style":647},[3306],{"type":611,"value":1081},{"type":606,"tag":635,"props":3308,"children":3309},{"class":637,"line":1891},[3310],{"type":606,"tag":635,"props":3311,"children":3312},{"style":692},[3313],{"type":611,"value":3314},"        \"\"\"Test invalid scores raise errors.\"\"\"\n",{"type":606,"tag":635,"props":3316,"children":3317},{"class":637,"line":1899},[3318,3322,3326,3330,3334],{"type":606,"tag":635,"props":3319,"children":3320},{"style":641},[3321],{"type":611,"value":1269},{"type":606,"tag":635,"props":3323,"children":3324},{"style":716},[3325],{"type":611,"value":1274},{"type":606,"tag":635,"props":3327,"children":3328},{"style":647},[3329],{"type":611,"value":1279},{"type":606,"tag":635,"props":3331,"children":3332},{"style":716},[3333],{"type":611,"value":1284},{"type":606,"tag":635,"props":3335,"children":3336},{"style":647},[3337],{"type":611,"value":1047},{"type":606,"tag":635,"props":3339,"children":3340},{"class":637,"line":1908},[3341,3346,3350,3354],{"type":606,"tag":635,"props":3342,"children":3343},{"style":647},[3344],{"type":611,"value":3345},"            get_grade(",{"type":606,"tag":635,"props":3347,"children":3348},{"style":641},[3349],{"type":611,"value":1301},{"type":606,"tag":635,"props":3351,"children":3352},{"style":716},[3353],{"type":611,"value":1112},{"type":606,"tag":635,"props":3355,"children":3356},{"style":647},[3357],{"type":611,"value":770},{"type":606,"tag":635,"props":3359,"children":3360},{"class":637,"line":1935},[3361],{"type":606,"tag":635,"props":3362,"children":3363},{"style":647},[3364],{"type":611,"value":2684},{"type":606,"tag":635,"props":3366,"children":3368},{"class":637,"line":3367},77,[3369,3373,3377,3381,3385],{"type":606,"tag":635,"props":3370,"children":3371},{"style":641},[3372],{"type":611,"value":1269},{"type":606,"tag":635,"props":3374,"children":3375},{"style":716},[3376],{"type":611,"value":1274},{"type":606,"tag":635,"props":3378,"children":3379},{"style":647},[3380],{"type":611,"value":1279},{"type":606,"tag":635,"props":3382,"children":3383},{"style":716},[3384],{"type":611,"value":1284},{"type":606,"tag":635,"props":3386,"children":3387},{"style":647},[3388],{"type":611,"value":1047},{"type":606,"tag":635,"props":3390,"children":3392},{"class":637,"line":3391},78,[3393,3397,3402],{"type":606,"tag":635,"props":3394,"children":3395},{"style":647},[3396],{"type":611,"value":3345},{"type":606,"tag":635,"props":3398,"children":3399},{"style":716},[3400],{"type":611,"value":3401},"105",{"type":606,"tag":635,"props":3403,"children":3404},{"style":647},[3405],{"type":611,"value":770},{"type":606,"tag":635,"props":3407,"children":3409},{"class":637,"line":3408},79,[3410],{"type":606,"tag":635,"props":3411,"children":3412},{"emptyLinePlaceholder":13},[3413],{"type":611,"value":658},{"type":606,"tag":635,"props":3415,"children":3417},{"class":637,"line":3416},80,[3418],{"type":606,"tag":635,"props":3419,"children":3420},{"style":664},[3421],{"type":611,"value":3422},"# Manual test runner for demonstration\n",{"type":606,"tag":635,"props":3424,"children":3426},{"class":637,"line":3425},81,[3427,3431,3436],{"type":606,"tag":635,"props":3428,"children":3429},{"style":641},[3430],{"type":611,"value":675},{"type":606,"tag":635,"props":3432,"children":3433},{"style":678},[3434],{"type":611,"value":3435}," run_simple_tests",{"type":606,"tag":635,"props":3437,"children":3438},{"style":647},[3439],{"type":611,"value":3440},"():\n",{"type":606,"tag":635,"props":3442,"children":3444},{"class":637,"line":3443},82,[3445],{"type":606,"tag":635,"props":3446,"children":3447},{"style":692},[3448],{"type":611,"value":3449},"    \"\"\"Run tests manually for demonstration.\"\"\"\n",{"type":606,"tag":635,"props":3451,"children":3453},{"class":637,"line":3452},83,[3454],{"type":606,"tag":635,"props":3455,"children":3456},{"style":647},[3457],{"type":611,"value":1063},{"type":606,"tag":635,"props":3459,"children":3461},{"class":637,"line":3460},84,[3462,3467,3471,3476],{"type":606,"tag":635,"props":3463,"children":3464},{"style":716},[3465],{"type":611,"value":3466},"    print",{"type":606,"tag":635,"props":3468,"children":3469},{"style":647},[3470],{"type":611,"value":760},{"type":606,"tag":635,"props":3472,"children":3473},{"style":692},[3474],{"type":611,"value":3475},"\"Running Unit Tests:\"",{"type":606,"tag":635,"props":3477,"children":3478},{"style":647},[3479],{"type":611,"value":770},{"type":606,"tag":635,"props":3481,"children":3483},{"class":637,"line":3482},85,[3484,3488,3492,3497,3502,3507],{"type":606,"tag":635,"props":3485,"children":3486},{"style":716},[3487],{"type":611,"value":3466},{"type":606,"tag":635,"props":3489,"children":3490},{"style":647},[3491],{"type":611,"value":760},{"type":606,"tag":635,"props":3493,"children":3494},{"style":692},[3495],{"type":611,"value":3496},"\"=\"",{"type":606,"tag":635,"props":3498,"children":3499},{"style":641},[3500],{"type":611,"value":3501}," *",{"type":606,"tag":635,"props":3503,"children":3504},{"style":716},[3505],{"type":611,"value":3506}," 40",{"type":606,"tag":635,"props":3508,"children":3509},{"style":647},[3510],{"type":611,"value":770},{"type":606,"tag":635,"props":3512,"children":3514},{"class":637,"line":3513},86,[3515],{"type":606,"tag":635,"props":3516,"children":3517},{"style":647},[3518],{"type":611,"value":1063},{"type":606,"tag":635,"props":3520,"children":3522},{"class":637,"line":3521},87,[3523],{"type":606,"tag":635,"props":3524,"children":3525},{"style":664},[3526],{"type":611,"value":3527},"    # Test 1: Addition\n",{"type":606,"tag":635,"props":3529,"children":3531},{"class":637,"line":3530},88,[3532,3537],{"type":606,"tag":635,"props":3533,"children":3534},{"style":641},[3535],{"type":611,"value":3536},"    try",{"type":606,"tag":635,"props":3538,"children":3539},{"style":647},[3540],{"type":611,"value":742},{"type":606,"tag":635,"props":3542,"children":3544},{"class":637,"line":3543},89,[3545,3550,3554,3558,3562,3566,3571,3575],{"type":606,"tag":635,"props":3546,"children":3547},{"style":641},[3548],{"type":611,"value":3549},"        assert",{"type":606,"tag":635,"props":3551,"children":3552},{"style":647},[3553],{"type":611,"value":2790},{"type":606,"tag":635,"props":3555,"children":3556},{"style":716},[3557],{"type":611,"value":1122},{"type":606,"tag":635,"props":3559,"children":3560},{"style":647},[3561],{"type":611,"value":1117},{"type":606,"tag":635,"props":3563,"children":3564},{"style":716},[3565],{"type":611,"value":1112},{"type":606,"tag":635,"props":3567,"children":3568},{"style":647},[3569],{"type":611,"value":3570},") ",{"type":606,"tag":635,"props":3572,"children":3573},{"style":641},[3574],{"type":611,"value":2235},{"type":606,"tag":635,"props":3576,"children":3577},{"style":716},[3578],{"type":611,"value":3579}," 8\n",{"type":606,"tag":635,"props":3581,"children":3583},{"class":637,"line":3582},90,[3584,3589,3593,3598],{"type":606,"tag":635,"props":3585,"children":3586},{"style":716},[3587],{"type":611,"value":3588},"        print",{"type":606,"tag":635,"props":3590,"children":3591},{"style":647},[3592],{"type":611,"value":760},{"type":606,"tag":635,"props":3594,"children":3595},{"style":692},[3596],{"type":611,"value":3597},"\"✓ Addition test passed\"",{"type":606,"tag":635,"props":3599,"children":3600},{"style":647},[3601],{"type":611,"value":770},{"type":606,"tag":635,"props":3603,"children":3605},{"class":637,"line":3604},91,[3606,3611,3616],{"type":606,"tag":635,"props":3607,"children":3608},{"style":641},[3609],{"type":611,"value":3610},"    except",{"type":606,"tag":635,"props":3612,"children":3613},{"style":716},[3614],{"type":611,"value":3615}," AssertionError",{"type":606,"tag":635,"props":3617,"children":3618},{"style":647},[3619],{"type":611,"value":742},{"type":606,"tag":635,"props":3621,"children":3623},{"class":637,"line":3622},92,[3624,3628,3632,3637],{"type":606,"tag":635,"props":3625,"children":3626},{"style":716},[3627],{"type":611,"value":3588},{"type":606,"tag":635,"props":3629,"children":3630},{"style":647},[3631],{"type":611,"value":760},{"type":606,"tag":635,"props":3633,"children":3634},{"style":692},[3635],{"type":611,"value":3636},"\"✗ Addition test failed\"",{"type":606,"tag":635,"props":3638,"children":3639},{"style":647},[3640],{"type":611,"value":770},{"type":606,"tag":635,"props":3642,"children":3644},{"class":637,"line":3643},93,[3645],{"type":606,"tag":635,"props":3646,"children":3647},{"style":647},[3648],{"type":611,"value":1063},{"type":606,"tag":635,"props":3650,"children":3652},{"class":637,"line":3651},94,[3653],{"type":606,"tag":635,"props":3654,"children":3655},{"style":664},[3656],{"type":611,"value":3657},"    # Test 2: Division\n",{"type":606,"tag":635,"props":3659,"children":3661},{"class":637,"line":3660},95,[3662,3666],{"type":606,"tag":635,"props":3663,"children":3664},{"style":641},[3665],{"type":611,"value":3536},{"type":606,"tag":635,"props":3667,"children":3668},{"style":647},[3669],{"type":611,"value":742},{"type":606,"tag":635,"props":3671,"children":3673},{"class":637,"line":3672},96,[3674,3678,3682,3686,3690,3694,3698,3702],{"type":606,"tag":635,"props":3675,"children":3676},{"style":641},[3677],{"type":611,"value":3549},{"type":606,"tag":635,"props":3679,"children":3680},{"style":647},[3681],{"type":611,"value":2884},{"type":606,"tag":635,"props":3683,"children":3684},{"style":716},[3685],{"type":611,"value":2889},{"type":606,"tag":635,"props":3687,"children":3688},{"style":647},[3689],{"type":611,"value":1117},{"type":606,"tag":635,"props":3691,"children":3692},{"style":716},[3693],{"type":611,"value":1409},{"type":606,"tag":635,"props":3695,"children":3696},{"style":647},[3697],{"type":611,"value":3570},{"type":606,"tag":635,"props":3699,"children":3700},{"style":641},[3701],{"type":611,"value":2235},{"type":606,"tag":635,"props":3703,"children":3704},{"style":716},[3705],{"type":611,"value":3706}," 5.0\n",{"type":606,"tag":635,"props":3708,"children":3710},{"class":637,"line":3709},97,[3711,3715,3719,3724],{"type":606,"tag":635,"props":3712,"children":3713},{"style":716},[3714],{"type":611,"value":3588},{"type":606,"tag":635,"props":3716,"children":3717},{"style":647},[3718],{"type":611,"value":760},{"type":606,"tag":635,"props":3720,"children":3721},{"style":692},[3722],{"type":611,"value":3723},"\"✓ Division test passed\"",{"type":606,"tag":635,"props":3725,"children":3726},{"style":647},[3727],{"type":611,"value":770},{"type":606,"tag":635,"props":3729,"children":3731},{"class":637,"line":3730},98,[3732,3736,3740],{"type":606,"tag":635,"props":3733,"children":3734},{"style":641},[3735],{"type":611,"value":3610},{"type":606,"tag":635,"props":3737,"children":3738},{"style":716},[3739],{"type":611,"value":3615},{"type":606,"tag":635,"props":3741,"children":3742},{"style":647},[3743],{"type":611,"value":742},{"type":606,"tag":635,"props":3745,"children":3747},{"class":637,"line":3746},99,[3748,3752,3756,3761],{"type":606,"tag":635,"props":3749,"children":3750},{"style":716},[3751],{"type":611,"value":3588},{"type":606,"tag":635,"props":3753,"children":3754},{"style":647},[3755],{"type":611,"value":760},{"type":606,"tag":635,"props":3757,"children":3758},{"style":692},[3759],{"type":611,"value":3760},"\"✗ Division test failed\"",{"type":606,"tag":635,"props":3762,"children":3763},{"style":647},[3764],{"type":611,"value":770},{"type":606,"tag":635,"props":3766,"children":3768},{"class":637,"line":3767},100,[3769],{"type":606,"tag":635,"props":3770,"children":3771},{"style":647},[3772],{"type":611,"value":1063},{"type":606,"tag":635,"props":3774,"children":3776},{"class":637,"line":3775},101,[3777],{"type":606,"tag":635,"props":3778,"children":3779},{"style":664},[3780],{"type":611,"value":3781},"    # Test 3: Error handling\n",{"type":606,"tag":635,"props":3783,"children":3785},{"class":637,"line":3784},102,[3786,3790],{"type":606,"tag":635,"props":3787,"children":3788},{"style":641},[3789],{"type":611,"value":3536},{"type":606,"tag":635,"props":3791,"children":3792},{"style":647},[3793],{"type":611,"value":742},{"type":606,"tag":635,"props":3795,"children":3797},{"class":637,"line":3796},103,[3798,3803,3807,3811,3815],{"type":606,"tag":635,"props":3799,"children":3800},{"style":647},[3801],{"type":611,"value":3802},"        divide_numbers(",{"type":606,"tag":635,"props":3804,"children":3805},{"style":716},[3806],{"type":611,"value":2889},{"type":606,"tag":635,"props":3808,"children":3809},{"style":647},[3810],{"type":611,"value":1117},{"type":606,"tag":635,"props":3812,"children":3813},{"style":716},[3814],{"type":611,"value":1199},{"type":606,"tag":635,"props":3816,"children":3817},{"style":647},[3818],{"type":611,"value":770},{"type":606,"tag":635,"props":3820,"children":3822},{"class":637,"line":3821},104,[3823,3827,3831,3836],{"type":606,"tag":635,"props":3824,"children":3825},{"style":716},[3826],{"type":611,"value":3588},{"type":606,"tag":635,"props":3828,"children":3829},{"style":647},[3830],{"type":611,"value":760},{"type":606,"tag":635,"props":3832,"children":3833},{"style":692},[3834],{"type":611,"value":3835},"\"✗ Error handling test failed - should have raised error\"",{"type":606,"tag":635,"props":3837,"children":3838},{"style":647},[3839],{"type":611,"value":770},{"type":606,"tag":635,"props":3841,"children":3843},{"class":637,"line":3842},105,[3844,3848,3852],{"type":606,"tag":635,"props":3845,"children":3846},{"style":641},[3847],{"type":611,"value":3610},{"type":606,"tag":635,"props":3849,"children":3850},{"style":716},[3851],{"type":611,"value":2255},{"type":606,"tag":635,"props":3853,"children":3854},{"style":647},[3855],{"type":611,"value":742},{"type":606,"tag":635,"props":3857,"children":3859},{"class":637,"line":3858},106,[3860,3864,3868,3873],{"type":606,"tag":635,"props":3861,"children":3862},{"style":716},[3863],{"type":611,"value":3588},{"type":606,"tag":635,"props":3865,"children":3866},{"style":647},[3867],{"type":611,"value":760},{"type":606,"tag":635,"props":3869,"children":3870},{"style":692},[3871],{"type":611,"value":3872},"\"✓ Error handling test passed\"",{"type":606,"tag":635,"props":3874,"children":3875},{"style":647},[3876],{"type":611,"value":770},{"type":606,"tag":635,"props":3878,"children":3880},{"class":637,"line":3879},107,[3881],{"type":606,"tag":635,"props":3882,"children":3883},{"style":647},[3884],{"type":611,"value":1063},{"type":606,"tag":635,"props":3886,"children":3888},{"class":637,"line":3887},108,[3889],{"type":606,"tag":635,"props":3890,"children":3891},{"style":664},[3892],{"type":611,"value":3893},"    # Test 4: Grade calculation\n",{"type":606,"tag":635,"props":3895,"children":3897},{"class":637,"line":3896},109,[3898,3902],{"type":606,"tag":635,"props":3899,"children":3900},{"style":641},[3901],{"type":611,"value":3536},{"type":606,"tag":635,"props":3903,"children":3904},{"style":647},[3905],{"type":611,"value":742},{"type":606,"tag":635,"props":3907,"children":3909},{"class":637,"line":3908},110,[3910,3914,3919,3923,3927,3931],{"type":606,"tag":635,"props":3911,"children":3912},{"style":641},[3913],{"type":611,"value":3549},{"type":606,"tag":635,"props":3915,"children":3916},{"style":647},[3917],{"type":611,"value":3918}," get_grade(",{"type":606,"tag":635,"props":3920,"children":3921},{"style":716},[3922],{"type":611,"value":3048},{"type":606,"tag":635,"props":3924,"children":3925},{"style":647},[3926],{"type":611,"value":3570},{"type":606,"tag":635,"props":3928,"children":3929},{"style":641},[3930],{"type":611,"value":2235},{"type":606,"tag":635,"props":3932,"children":3933},{"style":692},[3934],{"type":611,"value":2431},{"type":606,"tag":635,"props":3936,"children":3938},{"class":637,"line":3937},111,[3939,3943,3947,3952,3956,3960],{"type":606,"tag":635,"props":3940,"children":3941},{"style":641},[3942],{"type":611,"value":3549},{"type":606,"tag":635,"props":3944,"children":3945},{"style":647},[3946],{"type":611,"value":3918},{"type":606,"tag":635,"props":3948,"children":3949},{"style":716},[3950],{"type":611,"value":3951},"85",{"type":606,"tag":635,"props":3953,"children":3954},{"style":647},[3955],{"type":611,"value":3570},{"type":606,"tag":635,"props":3957,"children":3958},{"style":641},[3959],{"type":611,"value":2235},{"type":606,"tag":635,"props":3961,"children":3962},{"style":692},[3963],{"type":611,"value":2468},{"type":606,"tag":635,"props":3965,"children":3967},{"class":637,"line":3966},112,[3968,3972,3976,3981,3985,3989],{"type":606,"tag":635,"props":3969,"children":3970},{"style":641},[3971],{"type":611,"value":3549},{"type":606,"tag":635,"props":3973,"children":3974},{"style":647},[3975],{"type":611,"value":3918},{"type":606,"tag":635,"props":3977,"children":3978},{"style":716},[3979],{"type":611,"value":3980},"75",{"type":606,"tag":635,"props":3982,"children":3983},{"style":647},[3984],{"type":611,"value":3570},{"type":606,"tag":635,"props":3986,"children":3987},{"style":641},[3988],{"type":611,"value":2235},{"type":606,"tag":635,"props":3990,"children":3991},{"style":692},[3992],{"type":611,"value":2504},{"type":606,"tag":635,"props":3994,"children":3996},{"class":637,"line":3995},113,[3997,4001,4005,4010],{"type":606,"tag":635,"props":3998,"children":3999},{"style":716},[4000],{"type":611,"value":3588},{"type":606,"tag":635,"props":4002,"children":4003},{"style":647},[4004],{"type":611,"value":760},{"type":606,"tag":635,"props":4006,"children":4007},{"style":692},[4008],{"type":611,"value":4009},"\"✓ Grade calculation tests passed\"",{"type":606,"tag":635,"props":4011,"children":4012},{"style":647},[4013],{"type":611,"value":770},{"type":606,"tag":635,"props":4015,"children":4017},{"class":637,"line":4016},114,[4018,4022,4026],{"type":606,"tag":635,"props":4019,"children":4020},{"style":641},[4021],{"type":611,"value":3610},{"type":606,"tag":635,"props":4023,"children":4024},{"style":716},[4025],{"type":611,"value":3615},{"type":606,"tag":635,"props":4027,"children":4028},{"style":647},[4029],{"type":611,"value":742},{"type":606,"tag":635,"props":4031,"children":4033},{"class":637,"line":4032},115,[4034,4038,4042,4047],{"type":606,"tag":635,"props":4035,"children":4036},{"style":716},[4037],{"type":611,"value":3588},{"type":606,"tag":635,"props":4039,"children":4040},{"style":647},[4041],{"type":611,"value":760},{"type":606,"tag":635,"props":4043,"children":4044},{"style":692},[4045],{"type":611,"value":4046},"\"✗ Grade calculation tests failed\"",{"type":606,"tag":635,"props":4048,"children":4049},{"style":647},[4050],{"type":611,"value":770},{"type":606,"tag":635,"props":4052,"children":4054},{"class":637,"line":4053},116,[4055],{"type":606,"tag":635,"props":4056,"children":4057},{"emptyLinePlaceholder":13},[4058],{"type":611,"value":658},{"type":606,"tag":635,"props":4060,"children":4062},{"class":637,"line":4061},117,[4063],{"type":606,"tag":635,"props":4064,"children":4065},{"style":647},[4066],{"type":611,"value":4067},"run_simple_tests()\n",{"type":606,"tag":2099,"props":4069,"children":4071},{"id":4070},"testing-classes-and-objects",[4072],{"type":611,"value":4073},"Testing Classes and Objects",{"type":606,"tag":620,"props":4075,"children":4076},{},[4077],{"type":606,"tag":624,"props":4078,"children":4080},{"className":626,"code":4079,"language":628,"meta":8,"style":8},"import unittest\n\n# Example class to test\nclass BankAccount:\n    \"\"\"Simple bank account for testing.\"\"\"\n    \n    def __init__(self, initial_balance=0):\n        if initial_balance \u003C 0:\n            raise ValueError(\"Initial balance cannot be negative\")\n        self._balance = initial_balance\n        self._transactions = []\n    \n    @property\n    def balance(self):\n        \"\"\"Get current balance.\"\"\"\n        return self._balance\n    \n    def deposit(self, amount):\n        \"\"\"Deposit money to account.\"\"\"\n        if amount \u003C= 0:\n            raise ValueError(\"Deposit amount must be positive\")\n        \n        self._balance += amount\n        self._transactions.append(f\"Deposited ${amount}\")\n        return self._balance\n    \n    def withdraw(self, amount):\n        \"\"\"Withdraw money from account.\"\"\"\n        if amount \u003C= 0:\n            raise ValueError(\"Withdrawal amount must be positive\")\n        \n        if amount > self._balance:\n            raise ValueError(\"Insufficient funds\")\n        \n        self._balance -= amount\n        self._transactions.append(f\"Withdrew ${amount}\")\n        return self._balance\n    \n    def get_transaction_count(self):\n        \"\"\"Get number of transactions.\"\"\"\n        return len(self._transactions)\n\nclass TestBankAccount(unittest.TestCase):\n    \"\"\"Test the BankAccount class.\"\"\"\n    \n    def setUp(self):\n        \"\"\"Set up test fixtures before each test method.\"\"\"\n        self.account = BankAccount(100)  # Start with $100\n    \n    def test_initial_balance(self):\n        \"\"\"Test account creation with initial balance.\"\"\"\n        new_account = BankAccount(50)\n        self.assertEqual(new_account.balance, 50)\n    \n    def test_initial_balance_zero(self):\n        \"\"\"Test account creation with zero balance.\"\"\"\n        new_account = BankAccount()\n        self.assertEqual(new_account.balance, 0)\n    \n    def test_negative_initial_balance_raises_error(self):\n        \"\"\"Test that negative initial balance raises error.\"\"\"\n        with self.assertRaises(ValueError):\n            BankAccount(-10)\n    \n    def test_deposit_positive_amount(self):\n        \"\"\"Test depositing positive amount.\"\"\"\n        new_balance = self.account.deposit(50)\n        self.assertEqual(new_balance, 150)\n        self.assertEqual(self.account.balance, 150)\n    \n    def test_deposit_zero_raises_error(self):\n        \"\"\"Test that depositing zero raises error.\"\"\"\n        with self.assertRaises(ValueError):\n            self.account.deposit(0)\n    \n    def test_deposit_negative_raises_error(self):\n        \"\"\"Test that depositing negative amount raises error.\"\"\"\n        with self.assertRaises(ValueError):\n            self.account.deposit(-25)\n    \n    def test_withdraw_valid_amount(self):\n        \"\"\"Test withdrawing valid amount.\"\"\"\n        new_balance = self.account.withdraw(30)\n        self.assertEqual(new_balance, 70)\n        self.assertEqual(self.account.balance, 70)\n    \n    def test_withdraw_insufficient_funds(self):\n        \"\"\"Test withdrawing more than balance.\"\"\"\n        with self.assertRaises(ValueError):\n            self.account.withdraw(150)  # More than $100 balance\n    \n    def test_withdraw_negative_amount(self):\n        \"\"\"Test withdrawing negative amount.\"\"\"\n        with self.assertRaises(ValueError):\n            self.account.withdraw(-10)\n    \n    def test_multiple_transactions(self):\n        \"\"\"Test multiple deposits and withdrawals.\"\"\"\n        self.account.deposit(25)    # Balance: 125\n        self.account.withdraw(50)   # Balance: 75\n        self.account.deposit(100)   # Balance: 175\n        \n        self.assertEqual(self.account.balance, 175)\n        self.assertEqual(self.account.get_transaction_count(), 3)\n    \n    def tearDown(self):\n        \"\"\"Clean up after each test method.\"\"\"\n        # In this simple case, nothing to clean up\n        # But this is where you'd close files, database connections, etc.\n        pass\n\nclass TestEdgeCases(unittest.TestCase):\n    \"\"\"Test edge cases and boundary conditions.\"\"\"\n    \n    def test_large_amounts(self):\n        \"\"\"Test with large monetary amounts.\"\"\"\n        account = BankAccount(1000000)  # $1 million\n        account.deposit(500000)         # Add $500k\n        \n        self.assertEqual(account.balance, 1500000)\n    \n    def test_precise_decimal_amounts(self):\n        \"\"\"Test with decimal amounts.\"\"\"\n        account = BankAccount(100.50)\n        account.deposit(25.25)\n        account.withdraw(50.75)\n        \n        # Use assertAlmostEqual for floating point comparisons\n        self.assertAlmostEqual(account.balance, 75.00, places=2)\n    \n    def test_empty_account_operations(self):\n        \"\"\"Test operations on empty account.\"\"\"\n        account = BankAccount()  # $0 balance\n        \n        # Should be able to deposit\n        account.deposit(50)\n        self.assertEqual(account.balance, 50)\n        \n        # Should be able to withdraw all\n        account.withdraw(50)\n        self.assertEqual(account.balance, 0)\n\n# Simple test runner\ndef demonstrate_testing():\n    \"\"\"Demonstrate running tests.\"\"\"\n    \n    print(\"Bank Account Testing Examples:\")\n    print(\"=\" * 50)\n    \n    # Create test account\n    account = BankAccount(100)\n    \n    # Test deposit\n    try:\n        account.deposit(50)\n        assert account.balance == 150\n        print(\"✓ Deposit test passed\")\n    except Exception as e:\n        print(f\"✗ Deposit test failed: {e}\")\n    \n    # Test withdrawal\n    try:\n        account.withdraw(25)\n        assert account.balance == 125\n        print(\"✓ Withdrawal test passed\")\n    except Exception as e:\n        print(f\"✗ Withdrawal test failed: {e}\")\n    \n    # Test error conditions\n    try:\n        account.withdraw(200)  # Should fail\n        print(\"✗ Insufficient funds test failed - should have raised error\")\n    except ValueError:\n        print(\"✓ Insufficient funds test passed\")\n    except Exception as e:\n        print(f\"✗ Unexpected error: {e}\")\n\ndemonstrate_testing()\n",[4081],{"type":606,"tag":631,"props":4082,"children":4083},{"__ignoreMap":8},[4084,4095,4102,4110,4126,4134,4141,4170,4195,4220,4241,4262,4269,4282,4298,4306,4322,4329,4346,4354,4379,4403,4410,4431,4474,4489,4496,4512,4520,4543,4567,4574,4598,4622,4629,4649,4689,4704,4711,4727,4735,4761,4768,4800,4808,4815,4831,4839,4873,4880,4896,4904,4929,4949,4956,4972,4980,4996,5015,5022,5038,5046,5069,5089,5096,5112,5120,5149,5170,5199,5206,5222,5230,5253,5273,5280,5296,5304,5327,5351,5358,5374,5382,5411,5431,5458,5465,5481,5489,5512,5536,5543,5559,5567,5590,5613,5620,5636,5644,5669,5694,5718,5725,5753,5781,5788,5804,5812,5820,5828,5836,5843,5875,5883,5890,5906,5914,5944,5968,5976,5998,6006,6023,6032,6057,6074,6092,6100,6109,6149,6157,6174,6183,6205,6213,6222,6238,6258,6266,6275,6291,6311,6319,6328,6345,6354,6362,6383,6412,6420,6429,6454,6462,6471,6483,6499,6521,6542,6565,6607,6615,6624,6636,6652,6673,6694,6714,6755,6763,6772,6784,6806,6827,6843,6864,6884,6925,6933],{"type":606,"tag":635,"props":4085,"children":4086},{"class":637,"line":12},[4087,4091],{"type":606,"tag":635,"props":4088,"children":4089},{"style":641},[4090],{"type":611,"value":644},{"type":606,"tag":635,"props":4092,"children":4093},{"style":647},[4094],{"type":611,"value":650},{"type":606,"tag":635,"props":4096,"children":4097},{"class":637,"line":27},[4098],{"type":606,"tag":635,"props":4099,"children":4100},{"emptyLinePlaceholder":13},[4101],{"type":611,"value":658},{"type":606,"tag":635,"props":4103,"children":4104},{"class":637,"line":36},[4105],{"type":606,"tag":635,"props":4106,"children":4107},{"style":664},[4108],{"type":611,"value":4109},"# Example class to test\n",{"type":606,"tag":635,"props":4111,"children":4112},{"class":637,"line":45},[4113,4117,4122],{"type":606,"tag":635,"props":4114,"children":4115},{"style":641},[4116],{"type":611,"value":1018},{"type":606,"tag":635,"props":4118,"children":4119},{"style":678},[4120],{"type":611,"value":4121}," BankAccount",{"type":606,"tag":635,"props":4123,"children":4124},{"style":647},[4125],{"type":611,"value":742},{"type":606,"tag":635,"props":4127,"children":4128},{"class":637,"line":54},[4129],{"type":606,"tag":635,"props":4130,"children":4131},{"style":692},[4132],{"type":611,"value":4133},"    \"\"\"Simple bank account for testing.\"\"\"\n",{"type":606,"tag":635,"props":4135,"children":4136},{"class":637,"line":63},[4137],{"type":606,"tag":635,"props":4138,"children":4139},{"style":647},[4140],{"type":611,"value":1063},{"type":606,"tag":635,"props":4142,"children":4143},{"class":637,"line":72},[4144,4148,4153,4158,4162,4166],{"type":606,"tag":635,"props":4145,"children":4146},{"style":641},[4147],{"type":611,"value":1071},{"type":606,"tag":635,"props":4149,"children":4150},{"style":716},[4151],{"type":611,"value":4152}," __init__",{"type":606,"tag":635,"props":4154,"children":4155},{"style":647},[4156],{"type":611,"value":4157},"(self, initial_balance",{"type":606,"tag":635,"props":4159,"children":4160},{"style":641},[4161],{"type":611,"value":1102},{"type":606,"tag":635,"props":4163,"children":4164},{"style":716},[4165],{"type":611,"value":1199},{"type":606,"tag":635,"props":4167,"children":4168},{"style":647},[4169],{"type":611,"value":1047},{"type":606,"tag":635,"props":4171,"children":4172},{"class":637,"line":81},[4173,4178,4183,4187,4191],{"type":606,"tag":635,"props":4174,"children":4175},{"style":641},[4176],{"type":611,"value":4177},"        if",{"type":606,"tag":635,"props":4179,"children":4180},{"style":647},[4181],{"type":611,"value":4182}," initial_balance ",{"type":606,"tag":635,"props":4184,"children":4185},{"style":641},[4186],{"type":611,"value":713},{"type":606,"tag":635,"props":4188,"children":4189},{"style":716},[4190],{"type":611,"value":719},{"type":606,"tag":635,"props":4192,"children":4193},{"style":647},[4194],{"type":611,"value":742},{"type":606,"tag":635,"props":4196,"children":4197},{"class":637,"line":795},[4198,4203,4207,4211,4216],{"type":606,"tag":635,"props":4199,"children":4200},{"style":641},[4201],{"type":611,"value":4202},"            raise",{"type":606,"tag":635,"props":4204,"children":4205},{"style":716},[4206],{"type":611,"value":755},{"type":606,"tag":635,"props":4208,"children":4209},{"style":647},[4210],{"type":611,"value":760},{"type":606,"tag":635,"props":4212,"children":4213},{"style":692},[4214],{"type":611,"value":4215},"\"Initial balance cannot be negative\"",{"type":606,"tag":635,"props":4217,"children":4218},{"style":647},[4219],{"type":611,"value":770},{"type":606,"tag":635,"props":4221,"children":4222},{"class":637,"line":99},[4223,4227,4232,4236],{"type":606,"tag":635,"props":4224,"children":4225},{"style":716},[4226],{"type":611,"value":1134},{"type":606,"tag":635,"props":4228,"children":4229},{"style":647},[4230],{"type":611,"value":4231},"._balance ",{"type":606,"tag":635,"props":4233,"children":4234},{"style":641},[4235],{"type":611,"value":1102},{"type":606,"tag":635,"props":4237,"children":4238},{"style":647},[4239],{"type":611,"value":4240}," initial_balance\n",{"type":606,"tag":635,"props":4242,"children":4243},{"class":637,"line":108},[4244,4248,4253,4257],{"type":606,"tag":635,"props":4245,"children":4246},{"style":716},[4247],{"type":611,"value":1134},{"type":606,"tag":635,"props":4249,"children":4250},{"style":647},[4251],{"type":611,"value":4252},"._transactions ",{"type":606,"tag":635,"props":4254,"children":4255},{"style":641},[4256],{"type":611,"value":1102},{"type":606,"tag":635,"props":4258,"children":4259},{"style":647},[4260],{"type":611,"value":4261}," []\n",{"type":606,"tag":635,"props":4263,"children":4264},{"class":637,"line":117},[4265],{"type":606,"tag":635,"props":4266,"children":4267},{"style":647},[4268],{"type":611,"value":1063},{"type":606,"tag":635,"props":4270,"children":4271},{"class":637,"line":126},[4272,4277],{"type":606,"tag":635,"props":4273,"children":4274},{"style":678},[4275],{"type":611,"value":4276},"    @",{"type":606,"tag":635,"props":4278,"children":4279},{"style":716},[4280],{"type":611,"value":4281},"property\n",{"type":606,"tag":635,"props":4283,"children":4284},{"class":637,"line":135},[4285,4289,4294],{"type":606,"tag":635,"props":4286,"children":4287},{"style":641},[4288],{"type":611,"value":1071},{"type":606,"tag":635,"props":4290,"children":4291},{"style":678},[4292],{"type":611,"value":4293}," balance",{"type":606,"tag":635,"props":4295,"children":4296},{"style":647},[4297],{"type":611,"value":1081},{"type":606,"tag":635,"props":4299,"children":4300},{"class":637,"line":144},[4301],{"type":606,"tag":635,"props":4302,"children":4303},{"style":692},[4304],{"type":611,"value":4305},"        \"\"\"Get current balance.\"\"\"\n",{"type":606,"tag":635,"props":4307,"children":4308},{"class":637,"line":153},[4309,4313,4317],{"type":606,"tag":635,"props":4310,"children":4311},{"style":641},[4312],{"type":611,"value":2426},{"type":606,"tag":635,"props":4314,"children":4315},{"style":716},[4316],{"type":611,"value":1274},{"type":606,"tag":635,"props":4318,"children":4319},{"style":647},[4320],{"type":611,"value":4321},"._balance\n",{"type":606,"tag":635,"props":4323,"children":4324},{"class":637,"line":163},[4325],{"type":606,"tag":635,"props":4326,"children":4327},{"style":647},[4328],{"type":611,"value":1063},{"type":606,"tag":635,"props":4330,"children":4331},{"class":637,"line":172},[4332,4336,4341],{"type":606,"tag":635,"props":4333,"children":4334},{"style":641},[4335],{"type":611,"value":1071},{"type":606,"tag":635,"props":4337,"children":4338},{"style":678},[4339],{"type":611,"value":4340}," deposit",{"type":606,"tag":635,"props":4342,"children":4343},{"style":647},[4344],{"type":611,"value":4345},"(self, amount):\n",{"type":606,"tag":635,"props":4347,"children":4348},{"class":637,"line":181},[4349],{"type":606,"tag":635,"props":4350,"children":4351},{"style":692},[4352],{"type":611,"value":4353},"        \"\"\"Deposit money to account.\"\"\"\n",{"type":606,"tag":635,"props":4355,"children":4356},{"class":637,"line":190},[4357,4361,4366,4371,4375],{"type":606,"tag":635,"props":4358,"children":4359},{"style":641},[4360],{"type":611,"value":4177},{"type":606,"tag":635,"props":4362,"children":4363},{"style":647},[4364],{"type":611,"value":4365}," amount ",{"type":606,"tag":635,"props":4367,"children":4368},{"style":641},[4369],{"type":611,"value":4370},"\u003C=",{"type":606,"tag":635,"props":4372,"children":4373},{"style":716},[4374],{"type":611,"value":719},{"type":606,"tag":635,"props":4376,"children":4377},{"style":647},[4378],{"type":611,"value":742},{"type":606,"tag":635,"props":4380,"children":4381},{"class":637,"line":199},[4382,4386,4390,4394,4399],{"type":606,"tag":635,"props":4383,"children":4384},{"style":641},[4385],{"type":611,"value":4202},{"type":606,"tag":635,"props":4387,"children":4388},{"style":716},[4389],{"type":611,"value":755},{"type":606,"tag":635,"props":4391,"children":4392},{"style":647},[4393],{"type":611,"value":760},{"type":606,"tag":635,"props":4395,"children":4396},{"style":692},[4397],{"type":611,"value":4398},"\"Deposit amount must be positive\"",{"type":606,"tag":635,"props":4400,"children":4401},{"style":647},[4402],{"type":611,"value":770},{"type":606,"tag":635,"props":4404,"children":4405},{"class":637,"line":208},[4406],{"type":606,"tag":635,"props":4407,"children":4408},{"style":647},[4409],{"type":611,"value":2684},{"type":606,"tag":635,"props":4411,"children":4412},{"class":637,"line":217},[4413,4417,4421,4426],{"type":606,"tag":635,"props":4414,"children":4415},{"style":716},[4416],{"type":611,"value":1134},{"type":606,"tag":635,"props":4418,"children":4419},{"style":647},[4420],{"type":611,"value":4231},{"type":606,"tag":635,"props":4422,"children":4423},{"style":641},[4424],{"type":611,"value":4425},"+=",{"type":606,"tag":635,"props":4427,"children":4428},{"style":647},[4429],{"type":611,"value":4430}," amount\n",{"type":606,"tag":635,"props":4432,"children":4433},{"class":637,"line":227},[4434,4438,4443,4448,4453,4457,4462,4466,4470],{"type":606,"tag":635,"props":4435,"children":4436},{"style":716},[4437],{"type":611,"value":1134},{"type":606,"tag":635,"props":4439,"children":4440},{"style":647},[4441],{"type":611,"value":4442},"._transactions.append(",{"type":606,"tag":635,"props":4444,"children":4445},{"style":641},[4446],{"type":611,"value":4447},"f",{"type":606,"tag":635,"props":4449,"children":4450},{"style":692},[4451],{"type":611,"value":4452},"\"Deposited $",{"type":606,"tag":635,"props":4454,"children":4455},{"style":716},[4456],{"type":611,"value":966},{"type":606,"tag":635,"props":4458,"children":4459},{"style":647},[4460],{"type":611,"value":4461},"amount",{"type":606,"tag":635,"props":4463,"children":4464},{"style":716},[4465],{"type":611,"value":976},{"type":606,"tag":635,"props":4467,"children":4468},{"style":692},[4469],{"type":611,"value":961},{"type":606,"tag":635,"props":4471,"children":4472},{"style":647},[4473],{"type":611,"value":770},{"type":606,"tag":635,"props":4475,"children":4476},{"class":637,"line":236},[4477,4481,4485],{"type":606,"tag":635,"props":4478,"children":4479},{"style":641},[4480],{"type":611,"value":2426},{"type":606,"tag":635,"props":4482,"children":4483},{"style":716},[4484],{"type":611,"value":1274},{"type":606,"tag":635,"props":4486,"children":4487},{"style":647},[4488],{"type":611,"value":4321},{"type":606,"tag":635,"props":4490,"children":4491},{"class":637,"line":245},[4492],{"type":606,"tag":635,"props":4493,"children":4494},{"style":647},[4495],{"type":611,"value":1063},{"type":606,"tag":635,"props":4497,"children":4498},{"class":637,"line":254},[4499,4503,4508],{"type":606,"tag":635,"props":4500,"children":4501},{"style":641},[4502],{"type":611,"value":1071},{"type":606,"tag":635,"props":4504,"children":4505},{"style":678},[4506],{"type":611,"value":4507}," withdraw",{"type":606,"tag":635,"props":4509,"children":4510},{"style":647},[4511],{"type":611,"value":4345},{"type":606,"tag":635,"props":4513,"children":4514},{"class":637,"line":263},[4515],{"type":606,"tag":635,"props":4516,"children":4517},{"style":692},[4518],{"type":611,"value":4519},"        \"\"\"Withdraw money from account.\"\"\"\n",{"type":606,"tag":635,"props":4521,"children":4522},{"class":637,"line":272},[4523,4527,4531,4535,4539],{"type":606,"tag":635,"props":4524,"children":4525},{"style":641},[4526],{"type":611,"value":4177},{"type":606,"tag":635,"props":4528,"children":4529},{"style":647},[4530],{"type":611,"value":4365},{"type":606,"tag":635,"props":4532,"children":4533},{"style":641},[4534],{"type":611,"value":4370},{"type":606,"tag":635,"props":4536,"children":4537},{"style":716},[4538],{"type":611,"value":719},{"type":606,"tag":635,"props":4540,"children":4541},{"style":647},[4542],{"type":611,"value":742},{"type":606,"tag":635,"props":4544,"children":4545},{"class":637,"line":281},[4546,4550,4554,4558,4563],{"type":606,"tag":635,"props":4547,"children":4548},{"style":641},[4549],{"type":611,"value":4202},{"type":606,"tag":635,"props":4551,"children":4552},{"style":716},[4553],{"type":611,"value":755},{"type":606,"tag":635,"props":4555,"children":4556},{"style":647},[4557],{"type":611,"value":760},{"type":606,"tag":635,"props":4559,"children":4560},{"style":692},[4561],{"type":611,"value":4562},"\"Withdrawal amount must be positive\"",{"type":606,"tag":635,"props":4564,"children":4565},{"style":647},[4566],{"type":611,"value":770},{"type":606,"tag":635,"props":4568,"children":4569},{"class":637,"line":291},[4570],{"type":606,"tag":635,"props":4571,"children":4572},{"style":647},[4573],{"type":611,"value":2684},{"type":606,"tag":635,"props":4575,"children":4576},{"class":637,"line":302},[4577,4581,4585,4589,4593],{"type":606,"tag":635,"props":4578,"children":4579},{"style":641},[4580],{"type":611,"value":4177},{"type":606,"tag":635,"props":4582,"children":4583},{"style":647},[4584],{"type":611,"value":4365},{"type":606,"tag":635,"props":4586,"children":4587},{"style":641},[4588],{"type":611,"value":2353},{"type":606,"tag":635,"props":4590,"children":4591},{"style":716},[4592],{"type":611,"value":1274},{"type":606,"tag":635,"props":4594,"children":4595},{"style":647},[4596],{"type":611,"value":4597},"._balance:\n",{"type":606,"tag":635,"props":4599,"children":4600},{"class":637,"line":311},[4601,4605,4609,4613,4618],{"type":606,"tag":635,"props":4602,"children":4603},{"style":641},[4604],{"type":611,"value":4202},{"type":606,"tag":635,"props":4606,"children":4607},{"style":716},[4608],{"type":611,"value":755},{"type":606,"tag":635,"props":4610,"children":4611},{"style":647},[4612],{"type":611,"value":760},{"type":606,"tag":635,"props":4614,"children":4615},{"style":692},[4616],{"type":611,"value":4617},"\"Insufficient funds\"",{"type":606,"tag":635,"props":4619,"children":4620},{"style":647},[4621],{"type":611,"value":770},{"type":606,"tag":635,"props":4623,"children":4624},{"class":637,"line":320},[4625],{"type":606,"tag":635,"props":4626,"children":4627},{"style":647},[4628],{"type":611,"value":2684},{"type":606,"tag":635,"props":4630,"children":4631},{"class":637,"line":329},[4632,4636,4640,4645],{"type":606,"tag":635,"props":4633,"children":4634},{"style":716},[4635],{"type":611,"value":1134},{"type":606,"tag":635,"props":4637,"children":4638},{"style":647},[4639],{"type":611,"value":4231},{"type":606,"tag":635,"props":4641,"children":4642},{"style":641},[4643],{"type":611,"value":4644},"-=",{"type":606,"tag":635,"props":4646,"children":4647},{"style":647},[4648],{"type":611,"value":4430},{"type":606,"tag":635,"props":4650,"children":4651},{"class":637,"line":338},[4652,4656,4660,4664,4669,4673,4677,4681,4685],{"type":606,"tag":635,"props":4653,"children":4654},{"style":716},[4655],{"type":611,"value":1134},{"type":606,"tag":635,"props":4657,"children":4658},{"style":647},[4659],{"type":611,"value":4442},{"type":606,"tag":635,"props":4661,"children":4662},{"style":641},[4663],{"type":611,"value":4447},{"type":606,"tag":635,"props":4665,"children":4666},{"style":692},[4667],{"type":611,"value":4668},"\"Withdrew $",{"type":606,"tag":635,"props":4670,"children":4671},{"style":716},[4672],{"type":611,"value":966},{"type":606,"tag":635,"props":4674,"children":4675},{"style":647},[4676],{"type":611,"value":4461},{"type":606,"tag":635,"props":4678,"children":4679},{"style":716},[4680],{"type":611,"value":976},{"type":606,"tag":635,"props":4682,"children":4683},{"style":692},[4684],{"type":611,"value":961},{"type":606,"tag":635,"props":4686,"children":4687},{"style":647},[4688],{"type":611,"value":770},{"type":606,"tag":635,"props":4690,"children":4691},{"class":637,"line":347},[4692,4696,4700],{"type":606,"tag":635,"props":4693,"children":4694},{"style":641},[4695],{"type":611,"value":2426},{"type":606,"tag":635,"props":4697,"children":4698},{"style":716},[4699],{"type":611,"value":1274},{"type":606,"tag":635,"props":4701,"children":4702},{"style":647},[4703],{"type":611,"value":4321},{"type":606,"tag":635,"props":4705,"children":4706},{"class":637,"line":356},[4707],{"type":606,"tag":635,"props":4708,"children":4709},{"style":647},[4710],{"type":611,"value":1063},{"type":606,"tag":635,"props":4712,"children":4713},{"class":637,"line":367},[4714,4718,4723],{"type":606,"tag":635,"props":4715,"children":4716},{"style":641},[4717],{"type":611,"value":1071},{"type":606,"tag":635,"props":4719,"children":4720},{"style":678},[4721],{"type":611,"value":4722}," get_transaction_count",{"type":606,"tag":635,"props":4724,"children":4725},{"style":647},[4726],{"type":611,"value":1081},{"type":606,"tag":635,"props":4728,"children":4729},{"class":637,"line":376},[4730],{"type":606,"tag":635,"props":4731,"children":4732},{"style":692},[4733],{"type":611,"value":4734},"        \"\"\"Get number of transactions.\"\"\"\n",{"type":606,"tag":635,"props":4736,"children":4737},{"class":637,"line":385},[4738,4742,4747,4751,4756],{"type":606,"tag":635,"props":4739,"children":4740},{"style":641},[4741],{"type":611,"value":2426},{"type":606,"tag":635,"props":4743,"children":4744},{"style":716},[4745],{"type":611,"value":4746}," len",{"type":606,"tag":635,"props":4748,"children":4749},{"style":647},[4750],{"type":611,"value":760},{"type":606,"tag":635,"props":4752,"children":4753},{"style":716},[4754],{"type":611,"value":4755},"self",{"type":606,"tag":635,"props":4757,"children":4758},{"style":647},[4759],{"type":611,"value":4760},"._transactions)\n",{"type":606,"tag":635,"props":4762,"children":4763},{"class":637,"line":394},[4764],{"type":606,"tag":635,"props":4765,"children":4766},{"emptyLinePlaceholder":13},[4767],{"type":611,"value":658},{"type":606,"tag":635,"props":4769,"children":4770},{"class":637,"line":403},[4771,4775,4780,4784,4788,4792,4796],{"type":606,"tag":635,"props":4772,"children":4773},{"style":641},[4774],{"type":611,"value":1018},{"type":606,"tag":635,"props":4776,"children":4777},{"style":678},[4778],{"type":611,"value":4779}," TestBankAccount",{"type":606,"tag":635,"props":4781,"children":4782},{"style":647},[4783],{"type":611,"value":760},{"type":606,"tag":635,"props":4785,"children":4786},{"style":678},[4787],{"type":611,"value":1032},{"type":606,"tag":635,"props":4789,"children":4790},{"style":647},[4791],{"type":611,"value":1037},{"type":606,"tag":635,"props":4793,"children":4794},{"style":678},[4795],{"type":611,"value":1042},{"type":606,"tag":635,"props":4797,"children":4798},{"style":647},[4799],{"type":611,"value":1047},{"type":606,"tag":635,"props":4801,"children":4802},{"class":637,"line":412},[4803],{"type":606,"tag":635,"props":4804,"children":4805},{"style":692},[4806],{"type":611,"value":4807},"    \"\"\"Test the BankAccount class.\"\"\"\n",{"type":606,"tag":635,"props":4809,"children":4810},{"class":637,"line":423},[4811],{"type":606,"tag":635,"props":4812,"children":4813},{"style":647},[4814],{"type":611,"value":1063},{"type":606,"tag":635,"props":4816,"children":4817},{"class":637,"line":432},[4818,4822,4827],{"type":606,"tag":635,"props":4819,"children":4820},{"style":641},[4821],{"type":611,"value":1071},{"type":606,"tag":635,"props":4823,"children":4824},{"style":678},[4825],{"type":611,"value":4826}," setUp",{"type":606,"tag":635,"props":4828,"children":4829},{"style":647},[4830],{"type":611,"value":1081},{"type":606,"tag":635,"props":4832,"children":4833},{"class":637,"line":441},[4834],{"type":606,"tag":635,"props":4835,"children":4836},{"style":692},[4837],{"type":611,"value":4838},"        \"\"\"Set up test fixtures before each test method.\"\"\"\n",{"type":606,"tag":635,"props":4840,"children":4841},{"class":637,"line":450},[4842,4846,4851,4855,4860,4864,4868],{"type":606,"tag":635,"props":4843,"children":4844},{"style":716},[4845],{"type":611,"value":1134},{"type":606,"tag":635,"props":4847,"children":4848},{"style":647},[4849],{"type":611,"value":4850},".account ",{"type":606,"tag":635,"props":4852,"children":4853},{"style":641},[4854],{"type":611,"value":1102},{"type":606,"tag":635,"props":4856,"children":4857},{"style":647},[4858],{"type":611,"value":4859}," BankAccount(",{"type":606,"tag":635,"props":4861,"children":4862},{"style":716},[4863],{"type":611,"value":3106},{"type":606,"tag":635,"props":4865,"children":4866},{"style":647},[4867],{"type":611,"value":3179},{"type":606,"tag":635,"props":4869,"children":4870},{"style":664},[4871],{"type":611,"value":4872},"# Start with $100\n",{"type":606,"tag":635,"props":4874,"children":4875},{"class":637,"line":459},[4876],{"type":606,"tag":635,"props":4877,"children":4878},{"style":647},[4879],{"type":611,"value":1063},{"type":606,"tag":635,"props":4881,"children":4882},{"class":637,"line":468},[4883,4887,4892],{"type":606,"tag":635,"props":4884,"children":4885},{"style":641},[4886],{"type":611,"value":1071},{"type":606,"tag":635,"props":4888,"children":4889},{"style":678},[4890],{"type":611,"value":4891}," test_initial_balance",{"type":606,"tag":635,"props":4893,"children":4894},{"style":647},[4895],{"type":611,"value":1081},{"type":606,"tag":635,"props":4897,"children":4898},{"class":637,"line":477},[4899],{"type":606,"tag":635,"props":4900,"children":4901},{"style":692},[4902],{"type":611,"value":4903},"        \"\"\"Test account creation with initial balance.\"\"\"\n",{"type":606,"tag":635,"props":4905,"children":4906},{"class":637,"line":488},[4907,4912,4916,4920,4925],{"type":606,"tag":635,"props":4908,"children":4909},{"style":647},[4910],{"type":611,"value":4911},"        new_account ",{"type":606,"tag":635,"props":4913,"children":4914},{"style":641},[4915],{"type":611,"value":1102},{"type":606,"tag":635,"props":4917,"children":4918},{"style":647},[4919],{"type":611,"value":4859},{"type":606,"tag":635,"props":4921,"children":4922},{"style":716},[4923],{"type":611,"value":4924},"50",{"type":606,"tag":635,"props":4926,"children":4927},{"style":647},[4928],{"type":611,"value":770},{"type":606,"tag":635,"props":4930,"children":4931},{"class":637,"line":497},[4932,4936,4941,4945],{"type":606,"tag":635,"props":4933,"children":4934},{"style":716},[4935],{"type":611,"value":1134},{"type":606,"tag":635,"props":4937,"children":4938},{"style":647},[4939],{"type":611,"value":4940},".assertEqual(new_account.balance, ",{"type":606,"tag":635,"props":4942,"children":4943},{"style":716},[4944],{"type":611,"value":4924},{"type":606,"tag":635,"props":4946,"children":4947},{"style":647},[4948],{"type":611,"value":770},{"type":606,"tag":635,"props":4950,"children":4951},{"class":637,"line":506},[4952],{"type":606,"tag":635,"props":4953,"children":4954},{"style":647},[4955],{"type":611,"value":1063},{"type":606,"tag":635,"props":4957,"children":4958},{"class":637,"line":515},[4959,4963,4968],{"type":606,"tag":635,"props":4960,"children":4961},{"style":641},[4962],{"type":611,"value":1071},{"type":606,"tag":635,"props":4964,"children":4965},{"style":678},[4966],{"type":611,"value":4967}," test_initial_balance_zero",{"type":606,"tag":635,"props":4969,"children":4970},{"style":647},[4971],{"type":611,"value":1081},{"type":606,"tag":635,"props":4973,"children":4974},{"class":637,"line":524},[4975],{"type":606,"tag":635,"props":4976,"children":4977},{"style":692},[4978],{"type":611,"value":4979},"        \"\"\"Test account creation with zero balance.\"\"\"\n",{"type":606,"tag":635,"props":4981,"children":4982},{"class":637,"line":533},[4983,4987,4991],{"type":606,"tag":635,"props":4984,"children":4985},{"style":647},[4986],{"type":611,"value":4911},{"type":606,"tag":635,"props":4988,"children":4989},{"style":641},[4990],{"type":611,"value":1102},{"type":606,"tag":635,"props":4992,"children":4993},{"style":647},[4994],{"type":611,"value":4995}," BankAccount()\n",{"type":606,"tag":635,"props":4997,"children":4998},{"class":637,"line":544},[4999,5003,5007,5011],{"type":606,"tag":635,"props":5000,"children":5001},{"style":716},[5002],{"type":611,"value":1134},{"type":606,"tag":635,"props":5004,"children":5005},{"style":647},[5006],{"type":611,"value":4940},{"type":606,"tag":635,"props":5008,"children":5009},{"style":716},[5010],{"type":611,"value":1199},{"type":606,"tag":635,"props":5012,"children":5013},{"style":647},[5014],{"type":611,"value":770},{"type":606,"tag":635,"props":5016,"children":5017},{"class":637,"line":553},[5018],{"type":606,"tag":635,"props":5019,"children":5020},{"style":647},[5021],{"type":611,"value":1063},{"type":606,"tag":635,"props":5023,"children":5024},{"class":637,"line":562},[5025,5029,5034],{"type":606,"tag":635,"props":5026,"children":5027},{"style":641},[5028],{"type":611,"value":1071},{"type":606,"tag":635,"props":5030,"children":5031},{"style":678},[5032],{"type":611,"value":5033}," test_negative_initial_balance_raises_error",{"type":606,"tag":635,"props":5035,"children":5036},{"style":647},[5037],{"type":611,"value":1081},{"type":606,"tag":635,"props":5039,"children":5040},{"class":637,"line":571},[5041],{"type":606,"tag":635,"props":5042,"children":5043},{"style":692},[5044],{"type":611,"value":5045},"        \"\"\"Test that negative initial balance raises error.\"\"\"\n",{"type":606,"tag":635,"props":5047,"children":5048},{"class":637,"line":580},[5049,5053,5057,5061,5065],{"type":606,"tag":635,"props":5050,"children":5051},{"style":641},[5052],{"type":611,"value":1269},{"type":606,"tag":635,"props":5054,"children":5055},{"style":716},[5056],{"type":611,"value":1274},{"type":606,"tag":635,"props":5058,"children":5059},{"style":647},[5060],{"type":611,"value":1279},{"type":606,"tag":635,"props":5062,"children":5063},{"style":716},[5064],{"type":611,"value":1284},{"type":606,"tag":635,"props":5066,"children":5067},{"style":647},[5068],{"type":611,"value":1047},{"type":606,"tag":635,"props":5070,"children":5071},{"class":637,"line":589},[5072,5077,5081,5085],{"type":606,"tag":635,"props":5073,"children":5074},{"style":647},[5075],{"type":611,"value":5076},"            BankAccount(",{"type":606,"tag":635,"props":5078,"children":5079},{"style":641},[5080],{"type":611,"value":1301},{"type":606,"tag":635,"props":5082,"children":5083},{"style":716},[5084],{"type":611,"value":2889},{"type":606,"tag":635,"props":5086,"children":5087},{"style":647},[5088],{"type":611,"value":770},{"type":606,"tag":635,"props":5090,"children":5091},{"class":637,"line":1733},[5092],{"type":606,"tag":635,"props":5093,"children":5094},{"style":647},[5095],{"type":611,"value":1063},{"type":606,"tag":635,"props":5097,"children":5098},{"class":637,"line":1750},[5099,5103,5108],{"type":606,"tag":635,"props":5100,"children":5101},{"style":641},[5102],{"type":611,"value":1071},{"type":606,"tag":635,"props":5104,"children":5105},{"style":678},[5106],{"type":611,"value":5107}," test_deposit_positive_amount",{"type":606,"tag":635,"props":5109,"children":5110},{"style":647},[5111],{"type":611,"value":1081},{"type":606,"tag":635,"props":5113,"children":5114},{"class":637,"line":1759},[5115],{"type":606,"tag":635,"props":5116,"children":5117},{"style":692},[5118],{"type":611,"value":5119},"        \"\"\"Test depositing positive amount.\"\"\"\n",{"type":606,"tag":635,"props":5121,"children":5122},{"class":637,"line":1783},[5123,5128,5132,5136,5141,5145],{"type":606,"tag":635,"props":5124,"children":5125},{"style":647},[5126],{"type":611,"value":5127},"        new_balance ",{"type":606,"tag":635,"props":5129,"children":5130},{"style":641},[5131],{"type":611,"value":1102},{"type":606,"tag":635,"props":5133,"children":5134},{"style":716},[5135],{"type":611,"value":1274},{"type":606,"tag":635,"props":5137,"children":5138},{"style":647},[5139],{"type":611,"value":5140},".account.deposit(",{"type":606,"tag":635,"props":5142,"children":5143},{"style":716},[5144],{"type":611,"value":4924},{"type":606,"tag":635,"props":5146,"children":5147},{"style":647},[5148],{"type":611,"value":770},{"type":606,"tag":635,"props":5150,"children":5151},{"class":637,"line":1809},[5152,5156,5161,5166],{"type":606,"tag":635,"props":5153,"children":5154},{"style":716},[5155],{"type":611,"value":1134},{"type":606,"tag":635,"props":5157,"children":5158},{"style":647},[5159],{"type":611,"value":5160},".assertEqual(new_balance, ",{"type":606,"tag":635,"props":5162,"children":5163},{"style":716},[5164],{"type":611,"value":5165},"150",{"type":606,"tag":635,"props":5167,"children":5168},{"style":647},[5169],{"type":611,"value":770},{"type":606,"tag":635,"props":5171,"children":5172},{"class":637,"line":1817},[5173,5177,5182,5186,5191,5195],{"type":606,"tag":635,"props":5174,"children":5175},{"style":716},[5176],{"type":611,"value":1134},{"type":606,"tag":635,"props":5178,"children":5179},{"style":647},[5180],{"type":611,"value":5181},".assertEqual(",{"type":606,"tag":635,"props":5183,"children":5184},{"style":716},[5185],{"type":611,"value":4755},{"type":606,"tag":635,"props":5187,"children":5188},{"style":647},[5189],{"type":611,"value":5190},".account.balance, ",{"type":606,"tag":635,"props":5192,"children":5193},{"style":716},[5194],{"type":611,"value":5165},{"type":606,"tag":635,"props":5196,"children":5197},{"style":647},[5198],{"type":611,"value":770},{"type":606,"tag":635,"props":5200,"children":5201},{"class":637,"line":1834},[5202],{"type":606,"tag":635,"props":5203,"children":5204},{"style":647},[5205],{"type":611,"value":1063},{"type":606,"tag":635,"props":5207,"children":5208},{"class":637,"line":1843},[5209,5213,5218],{"type":606,"tag":635,"props":5210,"children":5211},{"style":641},[5212],{"type":611,"value":1071},{"type":606,"tag":635,"props":5214,"children":5215},{"style":678},[5216],{"type":611,"value":5217}," test_deposit_zero_raises_error",{"type":606,"tag":635,"props":5219,"children":5220},{"style":647},[5221],{"type":611,"value":1081},{"type":606,"tag":635,"props":5223,"children":5224},{"class":637,"line":1867},[5225],{"type":606,"tag":635,"props":5226,"children":5227},{"style":692},[5228],{"type":611,"value":5229},"        \"\"\"Test that depositing zero raises error.\"\"\"\n",{"type":606,"tag":635,"props":5231,"children":5232},{"class":637,"line":1891},[5233,5237,5241,5245,5249],{"type":606,"tag":635,"props":5234,"children":5235},{"style":641},[5236],{"type":611,"value":1269},{"type":606,"tag":635,"props":5238,"children":5239},{"style":716},[5240],{"type":611,"value":1274},{"type":606,"tag":635,"props":5242,"children":5243},{"style":647},[5244],{"type":611,"value":1279},{"type":606,"tag":635,"props":5246,"children":5247},{"style":716},[5248],{"type":611,"value":1284},{"type":606,"tag":635,"props":5250,"children":5251},{"style":647},[5252],{"type":611,"value":1047},{"type":606,"tag":635,"props":5254,"children":5255},{"class":637,"line":1899},[5256,5261,5265,5269],{"type":606,"tag":635,"props":5257,"children":5258},{"style":716},[5259],{"type":611,"value":5260},"            self",{"type":606,"tag":635,"props":5262,"children":5263},{"style":647},[5264],{"type":611,"value":5140},{"type":606,"tag":635,"props":5266,"children":5267},{"style":716},[5268],{"type":611,"value":1199},{"type":606,"tag":635,"props":5270,"children":5271},{"style":647},[5272],{"type":611,"value":770},{"type":606,"tag":635,"props":5274,"children":5275},{"class":637,"line":1908},[5276],{"type":606,"tag":635,"props":5277,"children":5278},{"style":647},[5279],{"type":611,"value":1063},{"type":606,"tag":635,"props":5281,"children":5282},{"class":637,"line":1935},[5283,5287,5292],{"type":606,"tag":635,"props":5284,"children":5285},{"style":641},[5286],{"type":611,"value":1071},{"type":606,"tag":635,"props":5288,"children":5289},{"style":678},[5290],{"type":611,"value":5291}," test_deposit_negative_raises_error",{"type":606,"tag":635,"props":5293,"children":5294},{"style":647},[5295],{"type":611,"value":1081},{"type":606,"tag":635,"props":5297,"children":5298},{"class":637,"line":3367},[5299],{"type":606,"tag":635,"props":5300,"children":5301},{"style":692},[5302],{"type":611,"value":5303},"        \"\"\"Test that depositing negative amount raises error.\"\"\"\n",{"type":606,"tag":635,"props":5305,"children":5306},{"class":637,"line":3391},[5307,5311,5315,5319,5323],{"type":606,"tag":635,"props":5308,"children":5309},{"style":641},[5310],{"type":611,"value":1269},{"type":606,"tag":635,"props":5312,"children":5313},{"style":716},[5314],{"type":611,"value":1274},{"type":606,"tag":635,"props":5316,"children":5317},{"style":647},[5318],{"type":611,"value":1279},{"type":606,"tag":635,"props":5320,"children":5321},{"style":716},[5322],{"type":611,"value":1284},{"type":606,"tag":635,"props":5324,"children":5325},{"style":647},[5326],{"type":611,"value":1047},{"type":606,"tag":635,"props":5328,"children":5329},{"class":637,"line":3408},[5330,5334,5338,5342,5347],{"type":606,"tag":635,"props":5331,"children":5332},{"style":716},[5333],{"type":611,"value":5260},{"type":606,"tag":635,"props":5335,"children":5336},{"style":647},[5337],{"type":611,"value":5140},{"type":606,"tag":635,"props":5339,"children":5340},{"style":641},[5341],{"type":611,"value":1301},{"type":606,"tag":635,"props":5343,"children":5344},{"style":716},[5345],{"type":611,"value":5346},"25",{"type":606,"tag":635,"props":5348,"children":5349},{"style":647},[5350],{"type":611,"value":770},{"type":606,"tag":635,"props":5352,"children":5353},{"class":637,"line":3416},[5354],{"type":606,"tag":635,"props":5355,"children":5356},{"style":647},[5357],{"type":611,"value":1063},{"type":606,"tag":635,"props":5359,"children":5360},{"class":637,"line":3425},[5361,5365,5370],{"type":606,"tag":635,"props":5362,"children":5363},{"style":641},[5364],{"type":611,"value":1071},{"type":606,"tag":635,"props":5366,"children":5367},{"style":678},[5368],{"type":611,"value":5369}," test_withdraw_valid_amount",{"type":606,"tag":635,"props":5371,"children":5372},{"style":647},[5373],{"type":611,"value":1081},{"type":606,"tag":635,"props":5375,"children":5376},{"class":637,"line":3443},[5377],{"type":606,"tag":635,"props":5378,"children":5379},{"style":692},[5380],{"type":611,"value":5381},"        \"\"\"Test withdrawing valid amount.\"\"\"\n",{"type":606,"tag":635,"props":5383,"children":5384},{"class":637,"line":3452},[5385,5389,5393,5397,5402,5407],{"type":606,"tag":635,"props":5386,"children":5387},{"style":647},[5388],{"type":611,"value":5127},{"type":606,"tag":635,"props":5390,"children":5391},{"style":641},[5392],{"type":611,"value":1102},{"type":606,"tag":635,"props":5394,"children":5395},{"style":716},[5396],{"type":611,"value":1274},{"type":606,"tag":635,"props":5398,"children":5399},{"style":647},[5400],{"type":611,"value":5401},".account.withdraw(",{"type":606,"tag":635,"props":5403,"children":5404},{"style":716},[5405],{"type":611,"value":5406},"30",{"type":606,"tag":635,"props":5408,"children":5409},{"style":647},[5410],{"type":611,"value":770},{"type":606,"tag":635,"props":5412,"children":5413},{"class":637,"line":3460},[5414,5418,5422,5427],{"type":606,"tag":635,"props":5415,"children":5416},{"style":716},[5417],{"type":611,"value":1134},{"type":606,"tag":635,"props":5419,"children":5420},{"style":647},[5421],{"type":611,"value":5160},{"type":606,"tag":635,"props":5423,"children":5424},{"style":716},[5425],{"type":611,"value":5426},"70",{"type":606,"tag":635,"props":5428,"children":5429},{"style":647},[5430],{"type":611,"value":770},{"type":606,"tag":635,"props":5432,"children":5433},{"class":637,"line":3482},[5434,5438,5442,5446,5450,5454],{"type":606,"tag":635,"props":5435,"children":5436},{"style":716},[5437],{"type":611,"value":1134},{"type":606,"tag":635,"props":5439,"children":5440},{"style":647},[5441],{"type":611,"value":5181},{"type":606,"tag":635,"props":5443,"children":5444},{"style":716},[5445],{"type":611,"value":4755},{"type":606,"tag":635,"props":5447,"children":5448},{"style":647},[5449],{"type":611,"value":5190},{"type":606,"tag":635,"props":5451,"children":5452},{"style":716},[5453],{"type":611,"value":5426},{"type":606,"tag":635,"props":5455,"children":5456},{"style":647},[5457],{"type":611,"value":770},{"type":606,"tag":635,"props":5459,"children":5460},{"class":637,"line":3513},[5461],{"type":606,"tag":635,"props":5462,"children":5463},{"style":647},[5464],{"type":611,"value":1063},{"type":606,"tag":635,"props":5466,"children":5467},{"class":637,"line":3521},[5468,5472,5477],{"type":606,"tag":635,"props":5469,"children":5470},{"style":641},[5471],{"type":611,"value":1071},{"type":606,"tag":635,"props":5473,"children":5474},{"style":678},[5475],{"type":611,"value":5476}," test_withdraw_insufficient_funds",{"type":606,"tag":635,"props":5478,"children":5479},{"style":647},[5480],{"type":611,"value":1081},{"type":606,"tag":635,"props":5482,"children":5483},{"class":637,"line":3530},[5484],{"type":606,"tag":635,"props":5485,"children":5486},{"style":692},[5487],{"type":611,"value":5488},"        \"\"\"Test withdrawing more than balance.\"\"\"\n",{"type":606,"tag":635,"props":5490,"children":5491},{"class":637,"line":3543},[5492,5496,5500,5504,5508],{"type":606,"tag":635,"props":5493,"children":5494},{"style":641},[5495],{"type":611,"value":1269},{"type":606,"tag":635,"props":5497,"children":5498},{"style":716},[5499],{"type":611,"value":1274},{"type":606,"tag":635,"props":5501,"children":5502},{"style":647},[5503],{"type":611,"value":1279},{"type":606,"tag":635,"props":5505,"children":5506},{"style":716},[5507],{"type":611,"value":1284},{"type":606,"tag":635,"props":5509,"children":5510},{"style":647},[5511],{"type":611,"value":1047},{"type":606,"tag":635,"props":5513,"children":5514},{"class":637,"line":3582},[5515,5519,5523,5527,5531],{"type":606,"tag":635,"props":5516,"children":5517},{"style":716},[5518],{"type":611,"value":5260},{"type":606,"tag":635,"props":5520,"children":5521},{"style":647},[5522],{"type":611,"value":5401},{"type":606,"tag":635,"props":5524,"children":5525},{"style":716},[5526],{"type":611,"value":5165},{"type":606,"tag":635,"props":5528,"children":5529},{"style":647},[5530],{"type":611,"value":3179},{"type":606,"tag":635,"props":5532,"children":5533},{"style":664},[5534],{"type":611,"value":5535},"# More than $100 balance\n",{"type":606,"tag":635,"props":5537,"children":5538},{"class":637,"line":3604},[5539],{"type":606,"tag":635,"props":5540,"children":5541},{"style":647},[5542],{"type":611,"value":1063},{"type":606,"tag":635,"props":5544,"children":5545},{"class":637,"line":3622},[5546,5550,5555],{"type":606,"tag":635,"props":5547,"children":5548},{"style":641},[5549],{"type":611,"value":1071},{"type":606,"tag":635,"props":5551,"children":5552},{"style":678},[5553],{"type":611,"value":5554}," test_withdraw_negative_amount",{"type":606,"tag":635,"props":5556,"children":5557},{"style":647},[5558],{"type":611,"value":1081},{"type":606,"tag":635,"props":5560,"children":5561},{"class":637,"line":3643},[5562],{"type":606,"tag":635,"props":5563,"children":5564},{"style":692},[5565],{"type":611,"value":5566},"        \"\"\"Test withdrawing negative amount.\"\"\"\n",{"type":606,"tag":635,"props":5568,"children":5569},{"class":637,"line":3651},[5570,5574,5578,5582,5586],{"type":606,"tag":635,"props":5571,"children":5572},{"style":641},[5573],{"type":611,"value":1269},{"type":606,"tag":635,"props":5575,"children":5576},{"style":716},[5577],{"type":611,"value":1274},{"type":606,"tag":635,"props":5579,"children":5580},{"style":647},[5581],{"type":611,"value":1279},{"type":606,"tag":635,"props":5583,"children":5584},{"style":716},[5585],{"type":611,"value":1284},{"type":606,"tag":635,"props":5587,"children":5588},{"style":647},[5589],{"type":611,"value":1047},{"type":606,"tag":635,"props":5591,"children":5592},{"class":637,"line":3660},[5593,5597,5601,5605,5609],{"type":606,"tag":635,"props":5594,"children":5595},{"style":716},[5596],{"type":611,"value":5260},{"type":606,"tag":635,"props":5598,"children":5599},{"style":647},[5600],{"type":611,"value":5401},{"type":606,"tag":635,"props":5602,"children":5603},{"style":641},[5604],{"type":611,"value":1301},{"type":606,"tag":635,"props":5606,"children":5607},{"style":716},[5608],{"type":611,"value":2889},{"type":606,"tag":635,"props":5610,"children":5611},{"style":647},[5612],{"type":611,"value":770},{"type":606,"tag":635,"props":5614,"children":5615},{"class":637,"line":3672},[5616],{"type":606,"tag":635,"props":5617,"children":5618},{"style":647},[5619],{"type":611,"value":1063},{"type":606,"tag":635,"props":5621,"children":5622},{"class":637,"line":3709},[5623,5627,5632],{"type":606,"tag":635,"props":5624,"children":5625},{"style":641},[5626],{"type":611,"value":1071},{"type":606,"tag":635,"props":5628,"children":5629},{"style":678},[5630],{"type":611,"value":5631}," test_multiple_transactions",{"type":606,"tag":635,"props":5633,"children":5634},{"style":647},[5635],{"type":611,"value":1081},{"type":606,"tag":635,"props":5637,"children":5638},{"class":637,"line":3730},[5639],{"type":606,"tag":635,"props":5640,"children":5641},{"style":692},[5642],{"type":611,"value":5643},"        \"\"\"Test multiple deposits and withdrawals.\"\"\"\n",{"type":606,"tag":635,"props":5645,"children":5646},{"class":637,"line":3746},[5647,5651,5655,5659,5664],{"type":606,"tag":635,"props":5648,"children":5649},{"style":716},[5650],{"type":611,"value":1134},{"type":606,"tag":635,"props":5652,"children":5653},{"style":647},[5654],{"type":611,"value":5140},{"type":606,"tag":635,"props":5656,"children":5657},{"style":716},[5658],{"type":611,"value":5346},{"type":606,"tag":635,"props":5660,"children":5661},{"style":647},[5662],{"type":611,"value":5663},")    ",{"type":606,"tag":635,"props":5665,"children":5666},{"style":664},[5667],{"type":611,"value":5668},"# Balance: 125\n",{"type":606,"tag":635,"props":5670,"children":5671},{"class":637,"line":3767},[5672,5676,5680,5684,5689],{"type":606,"tag":635,"props":5673,"children":5674},{"style":716},[5675],{"type":611,"value":1134},{"type":606,"tag":635,"props":5677,"children":5678},{"style":647},[5679],{"type":611,"value":5401},{"type":606,"tag":635,"props":5681,"children":5682},{"style":716},[5683],{"type":611,"value":4924},{"type":606,"tag":635,"props":5685,"children":5686},{"style":647},[5687],{"type":611,"value":5688},")   ",{"type":606,"tag":635,"props":5690,"children":5691},{"style":664},[5692],{"type":611,"value":5693},"# Balance: 75\n",{"type":606,"tag":635,"props":5695,"children":5696},{"class":637,"line":3775},[5697,5701,5705,5709,5713],{"type":606,"tag":635,"props":5698,"children":5699},{"style":716},[5700],{"type":611,"value":1134},{"type":606,"tag":635,"props":5702,"children":5703},{"style":647},[5704],{"type":611,"value":5140},{"type":606,"tag":635,"props":5706,"children":5707},{"style":716},[5708],{"type":611,"value":3106},{"type":606,"tag":635,"props":5710,"children":5711},{"style":647},[5712],{"type":611,"value":5688},{"type":606,"tag":635,"props":5714,"children":5715},{"style":664},[5716],{"type":611,"value":5717},"# Balance: 175\n",{"type":606,"tag":635,"props":5719,"children":5720},{"class":637,"line":3784},[5721],{"type":606,"tag":635,"props":5722,"children":5723},{"style":647},[5724],{"type":611,"value":2684},{"type":606,"tag":635,"props":5726,"children":5727},{"class":637,"line":3796},[5728,5732,5736,5740,5744,5749],{"type":606,"tag":635,"props":5729,"children":5730},{"style":716},[5731],{"type":611,"value":1134},{"type":606,"tag":635,"props":5733,"children":5734},{"style":647},[5735],{"type":611,"value":5181},{"type":606,"tag":635,"props":5737,"children":5738},{"style":716},[5739],{"type":611,"value":4755},{"type":606,"tag":635,"props":5741,"children":5742},{"style":647},[5743],{"type":611,"value":5190},{"type":606,"tag":635,"props":5745,"children":5746},{"style":716},[5747],{"type":611,"value":5748},"175",{"type":606,"tag":635,"props":5750,"children":5751},{"style":647},[5752],{"type":611,"value":770},{"type":606,"tag":635,"props":5754,"children":5755},{"class":637,"line":3821},[5756,5760,5764,5768,5773,5777],{"type":606,"tag":635,"props":5757,"children":5758},{"style":716},[5759],{"type":611,"value":1134},{"type":606,"tag":635,"props":5761,"children":5762},{"style":647},[5763],{"type":611,"value":5181},{"type":606,"tag":635,"props":5765,"children":5766},{"style":716},[5767],{"type":611,"value":4755},{"type":606,"tag":635,"props":5769,"children":5770},{"style":647},[5771],{"type":611,"value":5772},".account.get_transaction_count(), ",{"type":606,"tag":635,"props":5774,"children":5775},{"style":716},[5776],{"type":611,"value":1122},{"type":606,"tag":635,"props":5778,"children":5779},{"style":647},[5780],{"type":611,"value":770},{"type":606,"tag":635,"props":5782,"children":5783},{"class":637,"line":3842},[5784],{"type":606,"tag":635,"props":5785,"children":5786},{"style":647},[5787],{"type":611,"value":1063},{"type":606,"tag":635,"props":5789,"children":5790},{"class":637,"line":3858},[5791,5795,5800],{"type":606,"tag":635,"props":5792,"children":5793},{"style":641},[5794],{"type":611,"value":1071},{"type":606,"tag":635,"props":5796,"children":5797},{"style":678},[5798],{"type":611,"value":5799}," tearDown",{"type":606,"tag":635,"props":5801,"children":5802},{"style":647},[5803],{"type":611,"value":1081},{"type":606,"tag":635,"props":5805,"children":5806},{"class":637,"line":3879},[5807],{"type":606,"tag":635,"props":5808,"children":5809},{"style":692},[5810],{"type":611,"value":5811},"        \"\"\"Clean up after each test method.\"\"\"\n",{"type":606,"tag":635,"props":5813,"children":5814},{"class":637,"line":3887},[5815],{"type":606,"tag":635,"props":5816,"children":5817},{"style":664},[5818],{"type":611,"value":5819},"        # In this simple case, nothing to clean up\n",{"type":606,"tag":635,"props":5821,"children":5822},{"class":637,"line":3896},[5823],{"type":606,"tag":635,"props":5824,"children":5825},{"style":664},[5826],{"type":611,"value":5827},"        # But this is where you'd close files, database connections, etc.\n",{"type":606,"tag":635,"props":5829,"children":5830},{"class":637,"line":3908},[5831],{"type":606,"tag":635,"props":5832,"children":5833},{"style":641},[5834],{"type":611,"value":5835},"        pass\n",{"type":606,"tag":635,"props":5837,"children":5838},{"class":637,"line":3937},[5839],{"type":606,"tag":635,"props":5840,"children":5841},{"emptyLinePlaceholder":13},[5842],{"type":611,"value":658},{"type":606,"tag":635,"props":5844,"children":5845},{"class":637,"line":3966},[5846,5850,5855,5859,5863,5867,5871],{"type":606,"tag":635,"props":5847,"children":5848},{"style":641},[5849],{"type":611,"value":1018},{"type":606,"tag":635,"props":5851,"children":5852},{"style":678},[5853],{"type":611,"value":5854}," TestEdgeCases",{"type":606,"tag":635,"props":5856,"children":5857},{"style":647},[5858],{"type":611,"value":760},{"type":606,"tag":635,"props":5860,"children":5861},{"style":678},[5862],{"type":611,"value":1032},{"type":606,"tag":635,"props":5864,"children":5865},{"style":647},[5866],{"type":611,"value":1037},{"type":606,"tag":635,"props":5868,"children":5869},{"style":678},[5870],{"type":611,"value":1042},{"type":606,"tag":635,"props":5872,"children":5873},{"style":647},[5874],{"type":611,"value":1047},{"type":606,"tag":635,"props":5876,"children":5877},{"class":637,"line":3995},[5878],{"type":606,"tag":635,"props":5879,"children":5880},{"style":692},[5881],{"type":611,"value":5882},"    \"\"\"Test edge cases and boundary conditions.\"\"\"\n",{"type":606,"tag":635,"props":5884,"children":5885},{"class":637,"line":4016},[5886],{"type":606,"tag":635,"props":5887,"children":5888},{"style":647},[5889],{"type":611,"value":1063},{"type":606,"tag":635,"props":5891,"children":5892},{"class":637,"line":4032},[5893,5897,5902],{"type":606,"tag":635,"props":5894,"children":5895},{"style":641},[5896],{"type":611,"value":1071},{"type":606,"tag":635,"props":5898,"children":5899},{"style":678},[5900],{"type":611,"value":5901}," test_large_amounts",{"type":606,"tag":635,"props":5903,"children":5904},{"style":647},[5905],{"type":611,"value":1081},{"type":606,"tag":635,"props":5907,"children":5908},{"class":637,"line":4053},[5909],{"type":606,"tag":635,"props":5910,"children":5911},{"style":692},[5912],{"type":611,"value":5913},"        \"\"\"Test with large monetary amounts.\"\"\"\n",{"type":606,"tag":635,"props":5915,"children":5916},{"class":637,"line":4061},[5917,5922,5926,5930,5935,5939],{"type":606,"tag":635,"props":5918,"children":5919},{"style":647},[5920],{"type":611,"value":5921},"        account ",{"type":606,"tag":635,"props":5923,"children":5924},{"style":641},[5925],{"type":611,"value":1102},{"type":606,"tag":635,"props":5927,"children":5928},{"style":647},[5929],{"type":611,"value":4859},{"type":606,"tag":635,"props":5931,"children":5932},{"style":716},[5933],{"type":611,"value":5934},"1000000",{"type":606,"tag":635,"props":5936,"children":5937},{"style":647},[5938],{"type":611,"value":3179},{"type":606,"tag":635,"props":5940,"children":5941},{"style":664},[5942],{"type":611,"value":5943},"# $1 million\n",{"type":606,"tag":635,"props":5945,"children":5947},{"class":637,"line":5946},118,[5948,5953,5958,5963],{"type":606,"tag":635,"props":5949,"children":5950},{"style":647},[5951],{"type":611,"value":5952},"        account.deposit(",{"type":606,"tag":635,"props":5954,"children":5955},{"style":716},[5956],{"type":611,"value":5957},"500000",{"type":606,"tag":635,"props":5959,"children":5960},{"style":647},[5961],{"type":611,"value":5962},")         ",{"type":606,"tag":635,"props":5964,"children":5965},{"style":664},[5966],{"type":611,"value":5967},"# Add $500k\n",{"type":606,"tag":635,"props":5969,"children":5971},{"class":637,"line":5970},119,[5972],{"type":606,"tag":635,"props":5973,"children":5974},{"style":647},[5975],{"type":611,"value":2684},{"type":606,"tag":635,"props":5977,"children":5979},{"class":637,"line":5978},120,[5980,5984,5989,5994],{"type":606,"tag":635,"props":5981,"children":5982},{"style":716},[5983],{"type":611,"value":1134},{"type":606,"tag":635,"props":5985,"children":5986},{"style":647},[5987],{"type":611,"value":5988},".assertEqual(account.balance, ",{"type":606,"tag":635,"props":5990,"children":5991},{"style":716},[5992],{"type":611,"value":5993},"1500000",{"type":606,"tag":635,"props":5995,"children":5996},{"style":647},[5997],{"type":611,"value":770},{"type":606,"tag":635,"props":5999,"children":6001},{"class":637,"line":6000},121,[6002],{"type":606,"tag":635,"props":6003,"children":6004},{"style":647},[6005],{"type":611,"value":1063},{"type":606,"tag":635,"props":6007,"children":6009},{"class":637,"line":6008},122,[6010,6014,6019],{"type":606,"tag":635,"props":6011,"children":6012},{"style":641},[6013],{"type":611,"value":1071},{"type":606,"tag":635,"props":6015,"children":6016},{"style":678},[6017],{"type":611,"value":6018}," test_precise_decimal_amounts",{"type":606,"tag":635,"props":6020,"children":6021},{"style":647},[6022],{"type":611,"value":1081},{"type":606,"tag":635,"props":6024,"children":6026},{"class":637,"line":6025},123,[6027],{"type":606,"tag":635,"props":6028,"children":6029},{"style":692},[6030],{"type":611,"value":6031},"        \"\"\"Test with decimal amounts.\"\"\"\n",{"type":606,"tag":635,"props":6033,"children":6035},{"class":637,"line":6034},124,[6036,6040,6044,6048,6053],{"type":606,"tag":635,"props":6037,"children":6038},{"style":647},[6039],{"type":611,"value":5921},{"type":606,"tag":635,"props":6041,"children":6042},{"style":641},[6043],{"type":611,"value":1102},{"type":606,"tag":635,"props":6045,"children":6046},{"style":647},[6047],{"type":611,"value":4859},{"type":606,"tag":635,"props":6049,"children":6050},{"style":716},[6051],{"type":611,"value":6052},"100.50",{"type":606,"tag":635,"props":6054,"children":6055},{"style":647},[6056],{"type":611,"value":770},{"type":606,"tag":635,"props":6058,"children":6060},{"class":637,"line":6059},125,[6061,6065,6070],{"type":606,"tag":635,"props":6062,"children":6063},{"style":647},[6064],{"type":611,"value":5952},{"type":606,"tag":635,"props":6066,"children":6067},{"style":716},[6068],{"type":611,"value":6069},"25.25",{"type":606,"tag":635,"props":6071,"children":6072},{"style":647},[6073],{"type":611,"value":770},{"type":606,"tag":635,"props":6075,"children":6077},{"class":637,"line":6076},126,[6078,6083,6088],{"type":606,"tag":635,"props":6079,"children":6080},{"style":647},[6081],{"type":611,"value":6082},"        account.withdraw(",{"type":606,"tag":635,"props":6084,"children":6085},{"style":716},[6086],{"type":611,"value":6087},"50.75",{"type":606,"tag":635,"props":6089,"children":6090},{"style":647},[6091],{"type":611,"value":770},{"type":606,"tag":635,"props":6093,"children":6095},{"class":637,"line":6094},127,[6096],{"type":606,"tag":635,"props":6097,"children":6098},{"style":647},[6099],{"type":611,"value":2684},{"type":606,"tag":635,"props":6101,"children":6103},{"class":637,"line":6102},128,[6104],{"type":606,"tag":635,"props":6105,"children":6106},{"style":664},[6107],{"type":611,"value":6108},"        # Use assertAlmostEqual for floating point comparisons\n",{"type":606,"tag":635,"props":6110,"children":6112},{"class":637,"line":6111},129,[6113,6117,6122,6127,6131,6137,6141,6145],{"type":606,"tag":635,"props":6114,"children":6115},{"style":716},[6116],{"type":611,"value":1134},{"type":606,"tag":635,"props":6118,"children":6119},{"style":647},[6120],{"type":611,"value":6121},".assertAlmostEqual(account.balance, ",{"type":606,"tag":635,"props":6123,"children":6124},{"style":716},[6125],{"type":611,"value":6126},"75.00",{"type":606,"tag":635,"props":6128,"children":6129},{"style":647},[6130],{"type":611,"value":1117},{"type":606,"tag":635,"props":6132,"children":6134},{"style":6133},"--shiki-default:#E36209;--shiki-app-dark-mode:#FFAB70",[6135],{"type":611,"value":6136},"places",{"type":606,"tag":635,"props":6138,"children":6139},{"style":641},[6140],{"type":611,"value":1102},{"type":606,"tag":635,"props":6142,"children":6143},{"style":716},[6144],{"type":611,"value":1409},{"type":606,"tag":635,"props":6146,"children":6147},{"style":647},[6148],{"type":611,"value":770},{"type":606,"tag":635,"props":6150,"children":6152},{"class":637,"line":6151},130,[6153],{"type":606,"tag":635,"props":6154,"children":6155},{"style":647},[6156],{"type":611,"value":1063},{"type":606,"tag":635,"props":6158,"children":6160},{"class":637,"line":6159},131,[6161,6165,6170],{"type":606,"tag":635,"props":6162,"children":6163},{"style":641},[6164],{"type":611,"value":1071},{"type":606,"tag":635,"props":6166,"children":6167},{"style":678},[6168],{"type":611,"value":6169}," test_empty_account_operations",{"type":606,"tag":635,"props":6171,"children":6172},{"style":647},[6173],{"type":611,"value":1081},{"type":606,"tag":635,"props":6175,"children":6177},{"class":637,"line":6176},132,[6178],{"type":606,"tag":635,"props":6179,"children":6180},{"style":692},[6181],{"type":611,"value":6182},"        \"\"\"Test operations on empty account.\"\"\"\n",{"type":606,"tag":635,"props":6184,"children":6186},{"class":637,"line":6185},133,[6187,6191,6195,6200],{"type":606,"tag":635,"props":6188,"children":6189},{"style":647},[6190],{"type":611,"value":5921},{"type":606,"tag":635,"props":6192,"children":6193},{"style":641},[6194],{"type":611,"value":1102},{"type":606,"tag":635,"props":6196,"children":6197},{"style":647},[6198],{"type":611,"value":6199}," BankAccount()  ",{"type":606,"tag":635,"props":6201,"children":6202},{"style":664},[6203],{"type":611,"value":6204},"# $0 balance\n",{"type":606,"tag":635,"props":6206,"children":6208},{"class":637,"line":6207},134,[6209],{"type":606,"tag":635,"props":6210,"children":6211},{"style":647},[6212],{"type":611,"value":2684},{"type":606,"tag":635,"props":6214,"children":6216},{"class":637,"line":6215},135,[6217],{"type":606,"tag":635,"props":6218,"children":6219},{"style":664},[6220],{"type":611,"value":6221},"        # Should be able to deposit\n",{"type":606,"tag":635,"props":6223,"children":6225},{"class":637,"line":6224},136,[6226,6230,6234],{"type":606,"tag":635,"props":6227,"children":6228},{"style":647},[6229],{"type":611,"value":5952},{"type":606,"tag":635,"props":6231,"children":6232},{"style":716},[6233],{"type":611,"value":4924},{"type":606,"tag":635,"props":6235,"children":6236},{"style":647},[6237],{"type":611,"value":770},{"type":606,"tag":635,"props":6239,"children":6241},{"class":637,"line":6240},137,[6242,6246,6250,6254],{"type":606,"tag":635,"props":6243,"children":6244},{"style":716},[6245],{"type":611,"value":1134},{"type":606,"tag":635,"props":6247,"children":6248},{"style":647},[6249],{"type":611,"value":5988},{"type":606,"tag":635,"props":6251,"children":6252},{"style":716},[6253],{"type":611,"value":4924},{"type":606,"tag":635,"props":6255,"children":6256},{"style":647},[6257],{"type":611,"value":770},{"type":606,"tag":635,"props":6259,"children":6261},{"class":637,"line":6260},138,[6262],{"type":606,"tag":635,"props":6263,"children":6264},{"style":647},[6265],{"type":611,"value":2684},{"type":606,"tag":635,"props":6267,"children":6269},{"class":637,"line":6268},139,[6270],{"type":606,"tag":635,"props":6271,"children":6272},{"style":664},[6273],{"type":611,"value":6274},"        # Should be able to withdraw all\n",{"type":606,"tag":635,"props":6276,"children":6278},{"class":637,"line":6277},140,[6279,6283,6287],{"type":606,"tag":635,"props":6280,"children":6281},{"style":647},[6282],{"type":611,"value":6082},{"type":606,"tag":635,"props":6284,"children":6285},{"style":716},[6286],{"type":611,"value":4924},{"type":606,"tag":635,"props":6288,"children":6289},{"style":647},[6290],{"type":611,"value":770},{"type":606,"tag":635,"props":6292,"children":6294},{"class":637,"line":6293},141,[6295,6299,6303,6307],{"type":606,"tag":635,"props":6296,"children":6297},{"style":716},[6298],{"type":611,"value":1134},{"type":606,"tag":635,"props":6300,"children":6301},{"style":647},[6302],{"type":611,"value":5988},{"type":606,"tag":635,"props":6304,"children":6305},{"style":716},[6306],{"type":611,"value":1199},{"type":606,"tag":635,"props":6308,"children":6309},{"style":647},[6310],{"type":611,"value":770},{"type":606,"tag":635,"props":6312,"children":6314},{"class":637,"line":6313},142,[6315],{"type":606,"tag":635,"props":6316,"children":6317},{"emptyLinePlaceholder":13},[6318],{"type":611,"value":658},{"type":606,"tag":635,"props":6320,"children":6322},{"class":637,"line":6321},143,[6323],{"type":606,"tag":635,"props":6324,"children":6325},{"style":664},[6326],{"type":611,"value":6327},"# Simple test runner\n",{"type":606,"tag":635,"props":6329,"children":6331},{"class":637,"line":6330},144,[6332,6336,6341],{"type":606,"tag":635,"props":6333,"children":6334},{"style":641},[6335],{"type":611,"value":675},{"type":606,"tag":635,"props":6337,"children":6338},{"style":678},[6339],{"type":611,"value":6340}," demonstrate_testing",{"type":606,"tag":635,"props":6342,"children":6343},{"style":647},[6344],{"type":611,"value":3440},{"type":606,"tag":635,"props":6346,"children":6348},{"class":637,"line":6347},145,[6349],{"type":606,"tag":635,"props":6350,"children":6351},{"style":692},[6352],{"type":611,"value":6353},"    \"\"\"Demonstrate running tests.\"\"\"\n",{"type":606,"tag":635,"props":6355,"children":6357},{"class":637,"line":6356},146,[6358],{"type":606,"tag":635,"props":6359,"children":6360},{"style":647},[6361],{"type":611,"value":1063},{"type":606,"tag":635,"props":6363,"children":6365},{"class":637,"line":6364},147,[6366,6370,6374,6379],{"type":606,"tag":635,"props":6367,"children":6368},{"style":716},[6369],{"type":611,"value":3466},{"type":606,"tag":635,"props":6371,"children":6372},{"style":647},[6373],{"type":611,"value":760},{"type":606,"tag":635,"props":6375,"children":6376},{"style":692},[6377],{"type":611,"value":6378},"\"Bank Account Testing Examples:\"",{"type":606,"tag":635,"props":6380,"children":6381},{"style":647},[6382],{"type":611,"value":770},{"type":606,"tag":635,"props":6384,"children":6386},{"class":637,"line":6385},148,[6387,6391,6395,6399,6403,6408],{"type":606,"tag":635,"props":6388,"children":6389},{"style":716},[6390],{"type":611,"value":3466},{"type":606,"tag":635,"props":6392,"children":6393},{"style":647},[6394],{"type":611,"value":760},{"type":606,"tag":635,"props":6396,"children":6397},{"style":692},[6398],{"type":611,"value":3496},{"type":606,"tag":635,"props":6400,"children":6401},{"style":641},[6402],{"type":611,"value":3501},{"type":606,"tag":635,"props":6404,"children":6405},{"style":716},[6406],{"type":611,"value":6407}," 50",{"type":606,"tag":635,"props":6409,"children":6410},{"style":647},[6411],{"type":611,"value":770},{"type":606,"tag":635,"props":6413,"children":6415},{"class":637,"line":6414},149,[6416],{"type":606,"tag":635,"props":6417,"children":6418},{"style":647},[6419],{"type":611,"value":1063},{"type":606,"tag":635,"props":6421,"children":6423},{"class":637,"line":6422},150,[6424],{"type":606,"tag":635,"props":6425,"children":6426},{"style":664},[6427],{"type":611,"value":6428},"    # Create test account\n",{"type":606,"tag":635,"props":6430,"children":6432},{"class":637,"line":6431},151,[6433,6438,6442,6446,6450],{"type":606,"tag":635,"props":6434,"children":6435},{"style":647},[6436],{"type":611,"value":6437},"    account ",{"type":606,"tag":635,"props":6439,"children":6440},{"style":641},[6441],{"type":611,"value":1102},{"type":606,"tag":635,"props":6443,"children":6444},{"style":647},[6445],{"type":611,"value":4859},{"type":606,"tag":635,"props":6447,"children":6448},{"style":716},[6449],{"type":611,"value":3106},{"type":606,"tag":635,"props":6451,"children":6452},{"style":647},[6453],{"type":611,"value":770},{"type":606,"tag":635,"props":6455,"children":6457},{"class":637,"line":6456},152,[6458],{"type":606,"tag":635,"props":6459,"children":6460},{"style":647},[6461],{"type":611,"value":1063},{"type":606,"tag":635,"props":6463,"children":6465},{"class":637,"line":6464},153,[6466],{"type":606,"tag":635,"props":6467,"children":6468},{"style":664},[6469],{"type":611,"value":6470},"    # Test deposit\n",{"type":606,"tag":635,"props":6472,"children":6474},{"class":637,"line":6473},154,[6475,6479],{"type":606,"tag":635,"props":6476,"children":6477},{"style":641},[6478],{"type":611,"value":3536},{"type":606,"tag":635,"props":6480,"children":6481},{"style":647},[6482],{"type":611,"value":742},{"type":606,"tag":635,"props":6484,"children":6486},{"class":637,"line":6485},155,[6487,6491,6495],{"type":606,"tag":635,"props":6488,"children":6489},{"style":647},[6490],{"type":611,"value":5952},{"type":606,"tag":635,"props":6492,"children":6493},{"style":716},[6494],{"type":611,"value":4924},{"type":606,"tag":635,"props":6496,"children":6497},{"style":647},[6498],{"type":611,"value":770},{"type":606,"tag":635,"props":6500,"children":6502},{"class":637,"line":6501},156,[6503,6507,6512,6516],{"type":606,"tag":635,"props":6504,"children":6505},{"style":641},[6506],{"type":611,"value":3549},{"type":606,"tag":635,"props":6508,"children":6509},{"style":647},[6510],{"type":611,"value":6511}," account.balance ",{"type":606,"tag":635,"props":6513,"children":6514},{"style":641},[6515],{"type":611,"value":2235},{"type":606,"tag":635,"props":6517,"children":6518},{"style":716},[6519],{"type":611,"value":6520}," 150\n",{"type":606,"tag":635,"props":6522,"children":6524},{"class":637,"line":6523},157,[6525,6529,6533,6538],{"type":606,"tag":635,"props":6526,"children":6527},{"style":716},[6528],{"type":611,"value":3588},{"type":606,"tag":635,"props":6530,"children":6531},{"style":647},[6532],{"type":611,"value":760},{"type":606,"tag":635,"props":6534,"children":6535},{"style":692},[6536],{"type":611,"value":6537},"\"✓ Deposit test passed\"",{"type":606,"tag":635,"props":6539,"children":6540},{"style":647},[6541],{"type":611,"value":770},{"type":606,"tag":635,"props":6543,"children":6545},{"class":637,"line":6544},158,[6546,6550,6555,6560],{"type":606,"tag":635,"props":6547,"children":6548},{"style":641},[6549],{"type":611,"value":3610},{"type":606,"tag":635,"props":6551,"children":6552},{"style":716},[6553],{"type":611,"value":6554}," Exception",{"type":606,"tag":635,"props":6556,"children":6557},{"style":641},[6558],{"type":611,"value":6559}," as",{"type":606,"tag":635,"props":6561,"children":6562},{"style":647},[6563],{"type":611,"value":6564}," e:\n",{"type":606,"tag":635,"props":6566,"children":6568},{"class":637,"line":6567},159,[6569,6573,6577,6581,6586,6590,6595,6599,6603],{"type":606,"tag":635,"props":6570,"children":6571},{"style":716},[6572],{"type":611,"value":3588},{"type":606,"tag":635,"props":6574,"children":6575},{"style":647},[6576],{"type":611,"value":760},{"type":606,"tag":635,"props":6578,"children":6579},{"style":641},[6580],{"type":611,"value":4447},{"type":606,"tag":635,"props":6582,"children":6583},{"style":692},[6584],{"type":611,"value":6585},"\"✗ Deposit test failed: ",{"type":606,"tag":635,"props":6587,"children":6588},{"style":716},[6589],{"type":611,"value":966},{"type":606,"tag":635,"props":6591,"children":6592},{"style":647},[6593],{"type":611,"value":6594},"e",{"type":606,"tag":635,"props":6596,"children":6597},{"style":716},[6598],{"type":611,"value":976},{"type":606,"tag":635,"props":6600,"children":6601},{"style":692},[6602],{"type":611,"value":961},{"type":606,"tag":635,"props":6604,"children":6605},{"style":647},[6606],{"type":611,"value":770},{"type":606,"tag":635,"props":6608,"children":6610},{"class":637,"line":6609},160,[6611],{"type":606,"tag":635,"props":6612,"children":6613},{"style":647},[6614],{"type":611,"value":1063},{"type":606,"tag":635,"props":6616,"children":6618},{"class":637,"line":6617},161,[6619],{"type":606,"tag":635,"props":6620,"children":6621},{"style":664},[6622],{"type":611,"value":6623},"    # Test withdrawal\n",{"type":606,"tag":635,"props":6625,"children":6627},{"class":637,"line":6626},162,[6628,6632],{"type":606,"tag":635,"props":6629,"children":6630},{"style":641},[6631],{"type":611,"value":3536},{"type":606,"tag":635,"props":6633,"children":6634},{"style":647},[6635],{"type":611,"value":742},{"type":606,"tag":635,"props":6637,"children":6639},{"class":637,"line":6638},163,[6640,6644,6648],{"type":606,"tag":635,"props":6641,"children":6642},{"style":647},[6643],{"type":611,"value":6082},{"type":606,"tag":635,"props":6645,"children":6646},{"style":716},[6647],{"type":611,"value":5346},{"type":606,"tag":635,"props":6649,"children":6650},{"style":647},[6651],{"type":611,"value":770},{"type":606,"tag":635,"props":6653,"children":6655},{"class":637,"line":6654},164,[6656,6660,6664,6668],{"type":606,"tag":635,"props":6657,"children":6658},{"style":641},[6659],{"type":611,"value":3549},{"type":606,"tag":635,"props":6661,"children":6662},{"style":647},[6663],{"type":611,"value":6511},{"type":606,"tag":635,"props":6665,"children":6666},{"style":641},[6667],{"type":611,"value":2235},{"type":606,"tag":635,"props":6669,"children":6670},{"style":716},[6671],{"type":611,"value":6672}," 125\n",{"type":606,"tag":635,"props":6674,"children":6676},{"class":637,"line":6675},165,[6677,6681,6685,6690],{"type":606,"tag":635,"props":6678,"children":6679},{"style":716},[6680],{"type":611,"value":3588},{"type":606,"tag":635,"props":6682,"children":6683},{"style":647},[6684],{"type":611,"value":760},{"type":606,"tag":635,"props":6686,"children":6687},{"style":692},[6688],{"type":611,"value":6689},"\"✓ Withdrawal test passed\"",{"type":606,"tag":635,"props":6691,"children":6692},{"style":647},[6693],{"type":611,"value":770},{"type":606,"tag":635,"props":6695,"children":6697},{"class":637,"line":6696},166,[6698,6702,6706,6710],{"type":606,"tag":635,"props":6699,"children":6700},{"style":641},[6701],{"type":611,"value":3610},{"type":606,"tag":635,"props":6703,"children":6704},{"style":716},[6705],{"type":611,"value":6554},{"type":606,"tag":635,"props":6707,"children":6708},{"style":641},[6709],{"type":611,"value":6559},{"type":606,"tag":635,"props":6711,"children":6712},{"style":647},[6713],{"type":611,"value":6564},{"type":606,"tag":635,"props":6715,"children":6717},{"class":637,"line":6716},167,[6718,6722,6726,6730,6735,6739,6743,6747,6751],{"type":606,"tag":635,"props":6719,"children":6720},{"style":716},[6721],{"type":611,"value":3588},{"type":606,"tag":635,"props":6723,"children":6724},{"style":647},[6725],{"type":611,"value":760},{"type":606,"tag":635,"props":6727,"children":6728},{"style":641},[6729],{"type":611,"value":4447},{"type":606,"tag":635,"props":6731,"children":6732},{"style":692},[6733],{"type":611,"value":6734},"\"✗ Withdrawal test failed: ",{"type":606,"tag":635,"props":6736,"children":6737},{"style":716},[6738],{"type":611,"value":966},{"type":606,"tag":635,"props":6740,"children":6741},{"style":647},[6742],{"type":611,"value":6594},{"type":606,"tag":635,"props":6744,"children":6745},{"style":716},[6746],{"type":611,"value":976},{"type":606,"tag":635,"props":6748,"children":6749},{"style":692},[6750],{"type":611,"value":961},{"type":606,"tag":635,"props":6752,"children":6753},{"style":647},[6754],{"type":611,"value":770},{"type":606,"tag":635,"props":6756,"children":6758},{"class":637,"line":6757},168,[6759],{"type":606,"tag":635,"props":6760,"children":6761},{"style":647},[6762],{"type":611,"value":1063},{"type":606,"tag":635,"props":6764,"children":6766},{"class":637,"line":6765},169,[6767],{"type":606,"tag":635,"props":6768,"children":6769},{"style":664},[6770],{"type":611,"value":6771},"    # Test error conditions\n",{"type":606,"tag":635,"props":6773,"children":6775},{"class":637,"line":6774},170,[6776,6780],{"type":606,"tag":635,"props":6777,"children":6778},{"style":641},[6779],{"type":611,"value":3536},{"type":606,"tag":635,"props":6781,"children":6782},{"style":647},[6783],{"type":611,"value":742},{"type":606,"tag":635,"props":6785,"children":6787},{"class":637,"line":6786},171,[6788,6792,6797,6801],{"type":606,"tag":635,"props":6789,"children":6790},{"style":647},[6791],{"type":611,"value":6082},{"type":606,"tag":635,"props":6793,"children":6794},{"style":716},[6795],{"type":611,"value":6796},"200",{"type":606,"tag":635,"props":6798,"children":6799},{"style":647},[6800],{"type":611,"value":3179},{"type":606,"tag":635,"props":6802,"children":6803},{"style":664},[6804],{"type":611,"value":6805},"# Should fail\n",{"type":606,"tag":635,"props":6807,"children":6809},{"class":637,"line":6808},172,[6810,6814,6818,6823],{"type":606,"tag":635,"props":6811,"children":6812},{"style":716},[6813],{"type":611,"value":3588},{"type":606,"tag":635,"props":6815,"children":6816},{"style":647},[6817],{"type":611,"value":760},{"type":606,"tag":635,"props":6819,"children":6820},{"style":692},[6821],{"type":611,"value":6822},"\"✗ Insufficient funds test failed - should have raised error\"",{"type":606,"tag":635,"props":6824,"children":6825},{"style":647},[6826],{"type":611,"value":770},{"type":606,"tag":635,"props":6828,"children":6830},{"class":637,"line":6829},173,[6831,6835,6839],{"type":606,"tag":635,"props":6832,"children":6833},{"style":641},[6834],{"type":611,"value":3610},{"type":606,"tag":635,"props":6836,"children":6837},{"style":716},[6838],{"type":611,"value":755},{"type":606,"tag":635,"props":6840,"children":6841},{"style":647},[6842],{"type":611,"value":742},{"type":606,"tag":635,"props":6844,"children":6846},{"class":637,"line":6845},174,[6847,6851,6855,6860],{"type":606,"tag":635,"props":6848,"children":6849},{"style":716},[6850],{"type":611,"value":3588},{"type":606,"tag":635,"props":6852,"children":6853},{"style":647},[6854],{"type":611,"value":760},{"type":606,"tag":635,"props":6856,"children":6857},{"style":692},[6858],{"type":611,"value":6859},"\"✓ Insufficient funds test passed\"",{"type":606,"tag":635,"props":6861,"children":6862},{"style":647},[6863],{"type":611,"value":770},{"type":606,"tag":635,"props":6865,"children":6867},{"class":637,"line":6866},175,[6868,6872,6876,6880],{"type":606,"tag":635,"props":6869,"children":6870},{"style":641},[6871],{"type":611,"value":3610},{"type":606,"tag":635,"props":6873,"children":6874},{"style":716},[6875],{"type":611,"value":6554},{"type":606,"tag":635,"props":6877,"children":6878},{"style":641},[6879],{"type":611,"value":6559},{"type":606,"tag":635,"props":6881,"children":6882},{"style":647},[6883],{"type":611,"value":6564},{"type":606,"tag":635,"props":6885,"children":6887},{"class":637,"line":6886},176,[6888,6892,6896,6900,6905,6909,6913,6917,6921],{"type":606,"tag":635,"props":6889,"children":6890},{"style":716},[6891],{"type":611,"value":3588},{"type":606,"tag":635,"props":6893,"children":6894},{"style":647},[6895],{"type":611,"value":760},{"type":606,"tag":635,"props":6897,"children":6898},{"style":641},[6899],{"type":611,"value":4447},{"type":606,"tag":635,"props":6901,"children":6902},{"style":692},[6903],{"type":611,"value":6904},"\"✗ Unexpected error: ",{"type":606,"tag":635,"props":6906,"children":6907},{"style":716},[6908],{"type":611,"value":966},{"type":606,"tag":635,"props":6910,"children":6911},{"style":647},[6912],{"type":611,"value":6594},{"type":606,"tag":635,"props":6914,"children":6915},{"style":716},[6916],{"type":611,"value":976},{"type":606,"tag":635,"props":6918,"children":6919},{"style":692},[6920],{"type":611,"value":961},{"type":606,"tag":635,"props":6922,"children":6923},{"style":647},[6924],{"type":611,"value":770},{"type":606,"tag":635,"props":6926,"children":6928},{"class":637,"line":6927},177,[6929],{"type":606,"tag":635,"props":6930,"children":6931},{"emptyLinePlaceholder":13},[6932],{"type":611,"value":658},{"type":606,"tag":635,"props":6934,"children":6936},{"class":637,"line":6935},178,[6937],{"type":606,"tag":635,"props":6938,"children":6939},{"style":647},[6940],{"type":611,"value":6941},"demonstrate_testing()\n",{"type":606,"tag":1943,"props":6943,"children":6945},{"id":6944},"testing-best-practices",[6946],{"type":611,"value":6947},"📋 Testing Best Practices",{"type":606,"tag":6949,"props":6950,"children":6951},"table",{},[6952,6976],{"type":606,"tag":6953,"props":6954,"children":6955},"thead",{},[6956],{"type":606,"tag":6957,"props":6958,"children":6959},"tr",{},[6960,6966,6971],{"type":606,"tag":6961,"props":6962,"children":6963},"th",{},[6964],{"type":611,"value":6965},"Practice",{"type":606,"tag":6961,"props":6967,"children":6968},{},[6969],{"type":611,"value":6970},"Description",{"type":606,"tag":6961,"props":6972,"children":6973},{},[6974],{"type":611,"value":6975},"Example",{"type":606,"tag":6977,"props":6978,"children":6979},"tbody",{},[6980,7006,7031,7052,7073,7098],{"type":606,"tag":6957,"props":6981,"children":6982},{},[6983,6992,6997],{"type":606,"tag":6984,"props":6985,"children":6986},"td",{},[6987],{"type":606,"tag":1965,"props":6988,"children":6989},{},[6990],{"type":611,"value":6991},"Test One Thing",{"type":606,"tag":6984,"props":6993,"children":6994},{},[6995],{"type":611,"value":6996},"Each test should verify one specific behavior",{"type":606,"tag":6984,"props":6998,"children":6999},{},[7000],{"type":606,"tag":631,"props":7001,"children":7003},{"className":7002},[],[7004],{"type":611,"value":7005},"test_deposit_positive_amount()",{"type":606,"tag":6957,"props":7007,"children":7008},{},[7009,7017,7022],{"type":606,"tag":6984,"props":7010,"children":7011},{},[7012],{"type":606,"tag":1965,"props":7013,"children":7014},{},[7015],{"type":611,"value":7016},"Descriptive Names",{"type":606,"tag":6984,"props":7018,"children":7019},{},[7020],{"type":611,"value":7021},"Test names should describe what's being tested",{"type":606,"tag":6984,"props":7023,"children":7024},{},[7025],{"type":606,"tag":631,"props":7026,"children":7028},{"className":7027},[],[7029],{"type":611,"value":7030},"test_withdraw_insufficient_funds()",{"type":606,"tag":6957,"props":7032,"children":7033},{},[7034,7042,7047],{"type":606,"tag":6984,"props":7035,"children":7036},{},[7037],{"type":606,"tag":1965,"props":7038,"children":7039},{},[7040],{"type":611,"value":7041},"Arrange-Act-Assert",{"type":606,"tag":6984,"props":7043,"children":7044},{},[7045],{"type":611,"value":7046},"Clear test structure",{"type":606,"tag":6984,"props":7048,"children":7049},{},[7050],{"type":611,"value":7051},"Set up → Call function → Check result",{"type":606,"tag":6957,"props":7053,"children":7054},{},[7055,7063,7068],{"type":606,"tag":6984,"props":7056,"children":7057},{},[7058],{"type":606,"tag":1965,"props":7059,"children":7060},{},[7061],{"type":611,"value":7062},"Test Edge Cases",{"type":606,"tag":6984,"props":7064,"children":7065},{},[7066],{"type":611,"value":7067},"Include boundary conditions",{"type":606,"tag":6984,"props":7069,"children":7070},{},[7071],{"type":611,"value":7072},"Zero, negative, very large values",{"type":606,"tag":6957,"props":7074,"children":7075},{},[7076,7084,7089],{"type":606,"tag":6984,"props":7077,"children":7078},{},[7079],{"type":606,"tag":1965,"props":7080,"children":7081},{},[7082],{"type":611,"value":7083},"Test Error Handling",{"type":606,"tag":6984,"props":7085,"children":7086},{},[7087],{"type":611,"value":7088},"Verify errors are raised correctly",{"type":606,"tag":6984,"props":7090,"children":7091},{},[7092],{"type":606,"tag":631,"props":7093,"children":7095},{"className":7094},[],[7096],{"type":611,"value":7097},"assertRaises(ValueError)",{"type":606,"tag":6957,"props":7099,"children":7100},{},[7101,7109,7114],{"type":606,"tag":6984,"props":7102,"children":7103},{},[7104],{"type":606,"tag":1965,"props":7105,"children":7106},{},[7107],{"type":611,"value":7108},"Independent Tests",{"type":606,"tag":6984,"props":7110,"children":7111},{},[7112],{"type":611,"value":7113},"Tests shouldn't depend on each other",{"type":606,"tag":6984,"props":7115,"children":7116},{},[7117],{"type":611,"value":7118},"Each test can run alone",{"type":606,"tag":1943,"props":7120,"children":7122},{"id":7121},"common-test-patterns",[7123],{"type":611,"value":7124},"🔧 Common Test Patterns",{"type":606,"tag":2099,"props":7126,"children":7128},{"id":7127},"testing-with-sample-data",[7129],{"type":611,"value":7130},"Testing with Sample Data",{"type":606,"tag":620,"props":7132,"children":7133},{},[7134],{"type":606,"tag":624,"props":7135,"children":7137},{"className":626,"code":7136,"language":628,"meta":8,"style":8},"import unittest\n\n# Function that processes lists of data\ndef calculate_statistics(numbers):\n    \"\"\"Calculate basic statistics for a list of numbers.\"\"\"\n    if not numbers:\n        return {\n            'count': 0,\n            'sum': 0,\n            'average': 0,\n            'min': None,\n            'max': None\n        }\n    \n    return {\n        'count': len(numbers),\n        'sum': sum(numbers),\n        'average': sum(numbers) / len(numbers),\n        'min': min(numbers),\n        'max': max(numbers)\n    }\n\ndef filter_even_numbers(numbers):\n    \"\"\"Filter out odd numbers, keeping only even ones.\"\"\"\n    return [num for num in numbers if num % 2 == 0]\n\ndef find_common_items(list1, list2):\n    \"\"\"Find items that appear in both lists.\"\"\"\n    return list(set(list1) & set(list2))\n\nclass TestDataProcessing(unittest.TestCase):\n    \"\"\"Test data processing functions.\"\"\"\n    \n    def setUp(self):\n        \"\"\"Set up test data.\"\"\"\n        self.sample_numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n        self.mixed_numbers = [-5, 0, 3, 10, -2, 8]\n        self.empty_list = []\n    \n    def test_statistics_normal_data(self):\n        \"\"\"Test statistics with normal data.\"\"\"\n        result = calculate_statistics(self.sample_numbers)\n        \n        self.assertEqual(result['count'], 10)\n        self.assertEqual(result['sum'], 55)\n        self.assertEqual(result['average'], 5.5)\n        self.assertEqual(result['min'], 1)\n        self.assertEqual(result['max'], 10)\n    \n    def test_statistics_empty_list(self):\n        \"\"\"Test statistics with empty list.\"\"\"\n        result = calculate_statistics(self.empty_list)\n        \n        self.assertEqual(result['count'], 0)\n        self.assertEqual(result['sum'], 0)\n        self.assertEqual(result['average'], 0)\n        self.assertIsNone(result['min'])\n        self.assertIsNone(result['max'])\n    \n    def test_statistics_single_item(self):\n        \"\"\"Test statistics with single item.\"\"\"\n        result = calculate_statistics([42])\n        \n        self.assertEqual(result['count'], 1)\n        self.assertEqual(result['sum'], 42)\n        self.assertEqual(result['average'], 42)\n        self.assertEqual(result['min'], 42)\n        self.assertEqual(result['max'], 42)\n    \n    def test_filter_even_numbers(self):\n        \"\"\"Test filtering even numbers.\"\"\"\n        result = filter_even_numbers(self.sample_numbers)\n        expected = [2, 4, 6, 8, 10]\n        \n        self.assertEqual(result, expected)\n    \n    def test_filter_even_numbers_mixed(self):\n        \"\"\"Test filtering with negative and zero.\"\"\"\n        result = filter_even_numbers(self.mixed_numbers)\n        expected = [0, 10, -2, 8]\n        \n        self.assertEqual(result, expected)\n    \n    def test_find_common_items(self):\n        \"\"\"Test finding common items.\"\"\"\n        list1 = [1, 2, 3, 4, 5]\n        list2 = [4, 5, 6, 7, 8]\n        \n        result = find_common_items(list1, list2)\n        \n        # Sort both lists since order might vary\n        self.assertEqual(sorted(result), [4, 5])\n    \n    def test_find_common_items_no_overlap(self):\n        \"\"\"Test finding common items with no overlap.\"\"\"\n        list1 = [1, 2, 3]\n        list2 = [4, 5, 6]\n        \n        result = find_common_items(list1, list2)\n        \n        self.assertEqual(result, [])\n\n# Demonstrate running specific tests\ndef run_sample_tests():\n    \"\"\"Run some tests manually to show results.\"\"\"\n    \n    print(\"\\nData Processing Tests:\")\n    print(\"=\" * 40)\n    \n    # Test statistics\n    numbers = [2, 4, 6, 8, 10]\n    stats = calculate_statistics(numbers)\n    \n    expected_sum = 30\n    expected_avg = 6.0\n    \n    if stats['sum'] == expected_sum and stats['average'] == expected_avg:\n        print(\"✓ Statistics calculation test passed\")\n    else:\n        print(\"✗ Statistics calculation test failed\")\n    \n    # Test filtering\n    all_numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n    even_numbers = filter_even_numbers(all_numbers)\n    expected_evens = [2, 4, 6, 8, 10]\n    \n    if even_numbers == expected_evens:\n        print(\"✓ Even number filtering test passed\")\n    else:\n        print(\"✗ Even number filtering test failed\")\n    \n    # Test common items\n    list_a = [1, 2, 3, 4]\n    list_b = [3, 4, 5, 6]\n    common = find_common_items(list_a, list_b)\n    \n    if sorted(common) == [3, 4]:\n        print(\"✓ Common items test passed\")\n    else:\n        print(\"✗ Common items test failed\")\n\nrun_sample_tests()\n",[7138],{"type":606,"tag":631,"props":7139,"children":7140},{"__ignoreMap":8},[7141,7152,7159,7167,7184,7192,7208,7220,7242,7262,7282,7303,7320,7328,7335,7346,7368,7389,7422,7443,7465,7473,7480,7496,7504,7565,7572,7589,7597,7638,7645,7677,7685,7692,7707,7715,7819,7895,7915,7922,7938,7946,7971,7978,8008,8037,8066,8094,8122,8129,8145,8153,8177,8184,8211,8238,8265,8286,8305,8312,8328,8336,8361,8368,8395,8422,8449,8476,8503,8510,8526,8534,8558,8614,8621,8633,8640,8656,8664,8688,8739,8746,8757,8764,8780,8788,8844,8900,8907,8923,8930,8938,8975,8982,8998,9006,9045,9084,9091,9106,9113,9125,9132,9140,9156,9164,9171,9200,9227,9234,9242,9298,9315,9322,9339,9356,9363,9419,9439,9450,9470,9477,9485,9581,9598,9654,9661,9682,9702,9713,9733,9740,9748,9796,9844,9861,9868,9910,9930,9941,9961,9968],{"type":606,"tag":635,"props":7142,"children":7143},{"class":637,"line":12},[7144,7148],{"type":606,"tag":635,"props":7145,"children":7146},{"style":641},[7147],{"type":611,"value":644},{"type":606,"tag":635,"props":7149,"children":7150},{"style":647},[7151],{"type":611,"value":650},{"type":606,"tag":635,"props":7153,"children":7154},{"class":637,"line":27},[7155],{"type":606,"tag":635,"props":7156,"children":7157},{"emptyLinePlaceholder":13},[7158],{"type":611,"value":658},{"type":606,"tag":635,"props":7160,"children":7161},{"class":637,"line":36},[7162],{"type":606,"tag":635,"props":7163,"children":7164},{"style":664},[7165],{"type":611,"value":7166},"# Function that processes lists of data\n",{"type":606,"tag":635,"props":7168,"children":7169},{"class":637,"line":45},[7170,7174,7179],{"type":606,"tag":635,"props":7171,"children":7172},{"style":641},[7173],{"type":611,"value":675},{"type":606,"tag":635,"props":7175,"children":7176},{"style":678},[7177],{"type":611,"value":7178}," calculate_statistics",{"type":606,"tag":635,"props":7180,"children":7181},{"style":647},[7182],{"type":611,"value":7183},"(numbers):\n",{"type":606,"tag":635,"props":7185,"children":7186},{"class":637,"line":54},[7187],{"type":606,"tag":635,"props":7188,"children":7189},{"style":692},[7190],{"type":611,"value":7191},"    \"\"\"Calculate basic statistics for a list of numbers.\"\"\"\n",{"type":606,"tag":635,"props":7193,"children":7194},{"class":637,"line":63},[7195,7199,7203],{"type":606,"tag":635,"props":7196,"children":7197},{"style":641},[7198],{"type":611,"value":703},{"type":606,"tag":635,"props":7200,"children":7201},{"style":641},[7202],{"type":611,"value":901},{"type":606,"tag":635,"props":7204,"children":7205},{"style":647},[7206],{"type":611,"value":7207}," numbers:\n",{"type":606,"tag":635,"props":7209,"children":7210},{"class":637,"line":72},[7211,7215],{"type":606,"tag":635,"props":7212,"children":7213},{"style":641},[7214],{"type":611,"value":2426},{"type":606,"tag":635,"props":7216,"children":7217},{"style":647},[7218],{"type":611,"value":7219}," {\n",{"type":606,"tag":635,"props":7221,"children":7222},{"class":637,"line":81},[7223,7228,7233,7237],{"type":606,"tag":635,"props":7224,"children":7225},{"style":692},[7226],{"type":611,"value":7227},"            'count'",{"type":606,"tag":635,"props":7229,"children":7230},{"style":647},[7231],{"type":611,"value":7232},": ",{"type":606,"tag":635,"props":7234,"children":7235},{"style":716},[7236],{"type":611,"value":1199},{"type":606,"tag":635,"props":7238,"children":7239},{"style":647},[7240],{"type":611,"value":7241},",\n",{"type":606,"tag":635,"props":7243,"children":7244},{"class":637,"line":795},[7245,7250,7254,7258],{"type":606,"tag":635,"props":7246,"children":7247},{"style":692},[7248],{"type":611,"value":7249},"            'sum'",{"type":606,"tag":635,"props":7251,"children":7252},{"style":647},[7253],{"type":611,"value":7232},{"type":606,"tag":635,"props":7255,"children":7256},{"style":716},[7257],{"type":611,"value":1199},{"type":606,"tag":635,"props":7259,"children":7260},{"style":647},[7261],{"type":611,"value":7241},{"type":606,"tag":635,"props":7263,"children":7264},{"class":637,"line":99},[7265,7270,7274,7278],{"type":606,"tag":635,"props":7266,"children":7267},{"style":692},[7268],{"type":611,"value":7269},"            'average'",{"type":606,"tag":635,"props":7271,"children":7272},{"style":647},[7273],{"type":611,"value":7232},{"type":606,"tag":635,"props":7275,"children":7276},{"style":716},[7277],{"type":611,"value":1199},{"type":606,"tag":635,"props":7279,"children":7280},{"style":647},[7281],{"type":611,"value":7241},{"type":606,"tag":635,"props":7283,"children":7284},{"class":637,"line":108},[7285,7290,7294,7299],{"type":606,"tag":635,"props":7286,"children":7287},{"style":692},[7288],{"type":611,"value":7289},"            'min'",{"type":606,"tag":635,"props":7291,"children":7292},{"style":647},[7293],{"type":611,"value":7232},{"type":606,"tag":635,"props":7295,"children":7296},{"style":716},[7297],{"type":611,"value":7298},"None",{"type":606,"tag":635,"props":7300,"children":7301},{"style":647},[7302],{"type":611,"value":7241},{"type":606,"tag":635,"props":7304,"children":7305},{"class":637,"line":117},[7306,7311,7315],{"type":606,"tag":635,"props":7307,"children":7308},{"style":692},[7309],{"type":611,"value":7310},"            'max'",{"type":606,"tag":635,"props":7312,"children":7313},{"style":647},[7314],{"type":611,"value":7232},{"type":606,"tag":635,"props":7316,"children":7317},{"style":716},[7318],{"type":611,"value":7319},"None\n",{"type":606,"tag":635,"props":7321,"children":7322},{"class":637,"line":126},[7323],{"type":606,"tag":635,"props":7324,"children":7325},{"style":647},[7326],{"type":611,"value":7327},"        }\n",{"type":606,"tag":635,"props":7329,"children":7330},{"class":637,"line":135},[7331],{"type":606,"tag":635,"props":7332,"children":7333},{"style":647},[7334],{"type":611,"value":1063},{"type":606,"tag":635,"props":7336,"children":7337},{"class":637,"line":144},[7338,7342],{"type":606,"tag":635,"props":7339,"children":7340},{"style":641},[7341],{"type":611,"value":778},{"type":606,"tag":635,"props":7343,"children":7344},{"style":647},[7345],{"type":611,"value":7219},{"type":606,"tag":635,"props":7347,"children":7348},{"class":637,"line":153},[7349,7354,7358,7363],{"type":606,"tag":635,"props":7350,"children":7351},{"style":692},[7352],{"type":611,"value":7353},"        'count'",{"type":606,"tag":635,"props":7355,"children":7356},{"style":647},[7357],{"type":611,"value":7232},{"type":606,"tag":635,"props":7359,"children":7360},{"style":716},[7361],{"type":611,"value":7362},"len",{"type":606,"tag":635,"props":7364,"children":7365},{"style":647},[7366],{"type":611,"value":7367},"(numbers),\n",{"type":606,"tag":635,"props":7369,"children":7370},{"class":637,"line":163},[7371,7376,7380,7385],{"type":606,"tag":635,"props":7372,"children":7373},{"style":692},[7374],{"type":611,"value":7375},"        'sum'",{"type":606,"tag":635,"props":7377,"children":7378},{"style":647},[7379],{"type":611,"value":7232},{"type":606,"tag":635,"props":7381,"children":7382},{"style":716},[7383],{"type":611,"value":7384},"sum",{"type":606,"tag":635,"props":7386,"children":7387},{"style":647},[7388],{"type":611,"value":7367},{"type":606,"tag":635,"props":7390,"children":7391},{"class":637,"line":172},[7392,7397,7401,7405,7410,7414,7418],{"type":606,"tag":635,"props":7393,"children":7394},{"style":692},[7395],{"type":611,"value":7396},"        'average'",{"type":606,"tag":635,"props":7398,"children":7399},{"style":647},[7400],{"type":611,"value":7232},{"type":606,"tag":635,"props":7402,"children":7403},{"style":716},[7404],{"type":611,"value":7384},{"type":606,"tag":635,"props":7406,"children":7407},{"style":647},[7408],{"type":611,"value":7409},"(numbers) ",{"type":606,"tag":635,"props":7411,"children":7412},{"style":641},[7413],{"type":611,"value":2284},{"type":606,"tag":635,"props":7415,"children":7416},{"style":716},[7417],{"type":611,"value":4746},{"type":606,"tag":635,"props":7419,"children":7420},{"style":647},[7421],{"type":611,"value":7367},{"type":606,"tag":635,"props":7423,"children":7424},{"class":637,"line":181},[7425,7430,7434,7439],{"type":606,"tag":635,"props":7426,"children":7427},{"style":692},[7428],{"type":611,"value":7429},"        'min'",{"type":606,"tag":635,"props":7431,"children":7432},{"style":647},[7433],{"type":611,"value":7232},{"type":606,"tag":635,"props":7435,"children":7436},{"style":716},[7437],{"type":611,"value":7438},"min",{"type":606,"tag":635,"props":7440,"children":7441},{"style":647},[7442],{"type":611,"value":7367},{"type":606,"tag":635,"props":7444,"children":7445},{"class":637,"line":190},[7446,7451,7455,7460],{"type":606,"tag":635,"props":7447,"children":7448},{"style":692},[7449],{"type":611,"value":7450},"        'max'",{"type":606,"tag":635,"props":7452,"children":7453},{"style":647},[7454],{"type":611,"value":7232},{"type":606,"tag":635,"props":7456,"children":7457},{"style":716},[7458],{"type":611,"value":7459},"max",{"type":606,"tag":635,"props":7461,"children":7462},{"style":647},[7463],{"type":611,"value":7464},"(numbers)\n",{"type":606,"tag":635,"props":7466,"children":7467},{"class":637,"line":199},[7468],{"type":606,"tag":635,"props":7469,"children":7470},{"style":647},[7471],{"type":611,"value":7472},"    }\n",{"type":606,"tag":635,"props":7474,"children":7475},{"class":637,"line":208},[7476],{"type":606,"tag":635,"props":7477,"children":7478},{"emptyLinePlaceholder":13},[7479],{"type":611,"value":658},{"type":606,"tag":635,"props":7481,"children":7482},{"class":637,"line":217},[7483,7487,7492],{"type":606,"tag":635,"props":7484,"children":7485},{"style":641},[7486],{"type":611,"value":675},{"type":606,"tag":635,"props":7488,"children":7489},{"style":678},[7490],{"type":611,"value":7491}," filter_even_numbers",{"type":606,"tag":635,"props":7493,"children":7494},{"style":647},[7495],{"type":611,"value":7183},{"type":606,"tag":635,"props":7497,"children":7498},{"class":637,"line":227},[7499],{"type":606,"tag":635,"props":7500,"children":7501},{"style":692},[7502],{"type":611,"value":7503},"    \"\"\"Filter out odd numbers, keeping only even ones.\"\"\"\n",{"type":606,"tag":635,"props":7505,"children":7506},{"class":637,"line":236},[7507,7511,7516,7521,7526,7531,7536,7540,7544,7548,7552,7556,7560],{"type":606,"tag":635,"props":7508,"children":7509},{"style":641},[7510],{"type":611,"value":778},{"type":606,"tag":635,"props":7512,"children":7513},{"style":647},[7514],{"type":611,"value":7515}," [num ",{"type":606,"tag":635,"props":7517,"children":7518},{"style":641},[7519],{"type":611,"value":7520},"for",{"type":606,"tag":635,"props":7522,"children":7523},{"style":647},[7524],{"type":611,"value":7525}," num ",{"type":606,"tag":635,"props":7527,"children":7528},{"style":641},[7529],{"type":611,"value":7530},"in",{"type":606,"tag":635,"props":7532,"children":7533},{"style":647},[7534],{"type":611,"value":7535}," numbers ",{"type":606,"tag":635,"props":7537,"children":7538},{"style":641},[7539],{"type":611,"value":1914},{"type":606,"tag":635,"props":7541,"children":7542},{"style":647},[7543],{"type":611,"value":7525},{"type":606,"tag":635,"props":7545,"children":7546},{"style":641},[7547],{"type":611,"value":842},{"type":606,"tag":635,"props":7549,"children":7550},{"style":716},[7551],{"type":611,"value":847},{"type":606,"tag":635,"props":7553,"children":7554},{"style":641},[7555],{"type":611,"value":852},{"type":606,"tag":635,"props":7557,"children":7558},{"style":716},[7559],{"type":611,"value":719},{"type":606,"tag":635,"props":7561,"children":7562},{"style":647},[7563],{"type":611,"value":7564},"]\n",{"type":606,"tag":635,"props":7566,"children":7567},{"class":637,"line":245},[7568],{"type":606,"tag":635,"props":7569,"children":7570},{"emptyLinePlaceholder":13},[7571],{"type":611,"value":658},{"type":606,"tag":635,"props":7573,"children":7574},{"class":637,"line":254},[7575,7579,7584],{"type":606,"tag":635,"props":7576,"children":7577},{"style":641},[7578],{"type":611,"value":675},{"type":606,"tag":635,"props":7580,"children":7581},{"style":678},[7582],{"type":611,"value":7583}," find_common_items",{"type":606,"tag":635,"props":7585,"children":7586},{"style":647},[7587],{"type":611,"value":7588},"(list1, list2):\n",{"type":606,"tag":635,"props":7590,"children":7591},{"class":637,"line":263},[7592],{"type":606,"tag":635,"props":7593,"children":7594},{"style":692},[7595],{"type":611,"value":7596},"    \"\"\"Find items that appear in both lists.\"\"\"\n",{"type":606,"tag":635,"props":7598,"children":7599},{"class":637,"line":272},[7600,7604,7609,7613,7618,7623,7628,7633],{"type":606,"tag":635,"props":7601,"children":7602},{"style":641},[7603],{"type":611,"value":778},{"type":606,"tag":635,"props":7605,"children":7606},{"style":716},[7607],{"type":611,"value":7608}," list",{"type":606,"tag":635,"props":7610,"children":7611},{"style":647},[7612],{"type":611,"value":760},{"type":606,"tag":635,"props":7614,"children":7615},{"style":716},[7616],{"type":611,"value":7617},"set",{"type":606,"tag":635,"props":7619,"children":7620},{"style":647},[7621],{"type":611,"value":7622},"(list1) ",{"type":606,"tag":635,"props":7624,"children":7625},{"style":641},[7626],{"type":611,"value":7627},"&",{"type":606,"tag":635,"props":7629,"children":7630},{"style":716},[7631],{"type":611,"value":7632}," set",{"type":606,"tag":635,"props":7634,"children":7635},{"style":647},[7636],{"type":611,"value":7637},"(list2))\n",{"type":606,"tag":635,"props":7639,"children":7640},{"class":637,"line":281},[7641],{"type":606,"tag":635,"props":7642,"children":7643},{"emptyLinePlaceholder":13},[7644],{"type":611,"value":658},{"type":606,"tag":635,"props":7646,"children":7647},{"class":637,"line":291},[7648,7652,7657,7661,7665,7669,7673],{"type":606,"tag":635,"props":7649,"children":7650},{"style":641},[7651],{"type":611,"value":1018},{"type":606,"tag":635,"props":7653,"children":7654},{"style":678},[7655],{"type":611,"value":7656}," TestDataProcessing",{"type":606,"tag":635,"props":7658,"children":7659},{"style":647},[7660],{"type":611,"value":760},{"type":606,"tag":635,"props":7662,"children":7663},{"style":678},[7664],{"type":611,"value":1032},{"type":606,"tag":635,"props":7666,"children":7667},{"style":647},[7668],{"type":611,"value":1037},{"type":606,"tag":635,"props":7670,"children":7671},{"style":678},[7672],{"type":611,"value":1042},{"type":606,"tag":635,"props":7674,"children":7675},{"style":647},[7676],{"type":611,"value":1047},{"type":606,"tag":635,"props":7678,"children":7679},{"class":637,"line":302},[7680],{"type":606,"tag":635,"props":7681,"children":7682},{"style":692},[7683],{"type":611,"value":7684},"    \"\"\"Test data processing functions.\"\"\"\n",{"type":606,"tag":635,"props":7686,"children":7687},{"class":637,"line":311},[7688],{"type":606,"tag":635,"props":7689,"children":7690},{"style":647},[7691],{"type":611,"value":1063},{"type":606,"tag":635,"props":7693,"children":7694},{"class":637,"line":320},[7695,7699,7703],{"type":606,"tag":635,"props":7696,"children":7697},{"style":641},[7698],{"type":611,"value":1071},{"type":606,"tag":635,"props":7700,"children":7701},{"style":678},[7702],{"type":611,"value":4826},{"type":606,"tag":635,"props":7704,"children":7705},{"style":647},[7706],{"type":611,"value":1081},{"type":606,"tag":635,"props":7708,"children":7709},{"class":637,"line":329},[7710],{"type":606,"tag":635,"props":7711,"children":7712},{"style":692},[7713],{"type":611,"value":7714},"        \"\"\"Set up test data.\"\"\"\n",{"type":606,"tag":635,"props":7716,"children":7717},{"class":637,"line":338},[7718,7722,7727,7731,7736,7740,7744,7748,7752,7756,7760,7764,7768,7772,7776,7781,7785,7790,7794,7798,7802,7807,7811,7815],{"type":606,"tag":635,"props":7719,"children":7720},{"style":716},[7721],{"type":611,"value":1134},{"type":606,"tag":635,"props":7723,"children":7724},{"style":647},[7725],{"type":611,"value":7726},".sample_numbers ",{"type":606,"tag":635,"props":7728,"children":7729},{"style":641},[7730],{"type":611,"value":1102},{"type":606,"tag":635,"props":7732,"children":7733},{"style":647},[7734],{"type":611,"value":7735}," [",{"type":606,"tag":635,"props":7737,"children":7738},{"style":716},[7739],{"type":611,"value":1480},{"type":606,"tag":635,"props":7741,"children":7742},{"style":647},[7743],{"type":611,"value":1117},{"type":606,"tag":635,"props":7745,"children":7746},{"style":716},[7747],{"type":611,"value":1409},{"type":606,"tag":635,"props":7749,"children":7750},{"style":647},[7751],{"type":611,"value":1117},{"type":606,"tag":635,"props":7753,"children":7754},{"style":716},[7755],{"type":611,"value":1122},{"type":606,"tag":635,"props":7757,"children":7758},{"style":647},[7759],{"type":611,"value":1117},{"type":606,"tag":635,"props":7761,"children":7762},{"style":716},[7763],{"type":611,"value":1365},{"type":606,"tag":635,"props":7765,"children":7766},{"style":647},[7767],{"type":611,"value":1117},{"type":606,"tag":635,"props":7769,"children":7770},{"style":716},[7771],{"type":611,"value":1112},{"type":606,"tag":635,"props":7773,"children":7774},{"style":647},[7775],{"type":611,"value":1117},{"type":606,"tag":635,"props":7777,"children":7778},{"style":716},[7779],{"type":611,"value":7780},"6",{"type":606,"tag":635,"props":7782,"children":7783},{"style":647},[7784],{"type":611,"value":1117},{"type":606,"tag":635,"props":7786,"children":7787},{"style":716},[7788],{"type":611,"value":7789},"7",{"type":606,"tag":635,"props":7791,"children":7792},{"style":647},[7793],{"type":611,"value":1117},{"type":606,"tag":635,"props":7795,"children":7796},{"style":716},[7797],{"type":611,"value":2739},{"type":606,"tag":635,"props":7799,"children":7800},{"style":647},[7801],{"type":611,"value":1117},{"type":606,"tag":635,"props":7803,"children":7804},{"style":716},[7805],{"type":611,"value":7806},"9",{"type":606,"tag":635,"props":7808,"children":7809},{"style":647},[7810],{"type":611,"value":1117},{"type":606,"tag":635,"props":7812,"children":7813},{"style":716},[7814],{"type":611,"value":2889},{"type":606,"tag":635,"props":7816,"children":7817},{"style":647},[7818],{"type":611,"value":7564},{"type":606,"tag":635,"props":7820,"children":7821},{"class":637,"line":347},[7822,7826,7831,7835,7839,7843,7847,7851,7855,7859,7863,7867,7871,7875,7879,7883,7887,7891],{"type":606,"tag":635,"props":7823,"children":7824},{"style":716},[7825],{"type":611,"value":1134},{"type":606,"tag":635,"props":7827,"children":7828},{"style":647},[7829],{"type":611,"value":7830},".mixed_numbers ",{"type":606,"tag":635,"props":7832,"children":7833},{"style":641},[7834],{"type":611,"value":1102},{"type":606,"tag":635,"props":7836,"children":7837},{"style":647},[7838],{"type":611,"value":7735},{"type":606,"tag":635,"props":7840,"children":7841},{"style":641},[7842],{"type":611,"value":1301},{"type":606,"tag":635,"props":7844,"children":7845},{"style":716},[7846],{"type":611,"value":1112},{"type":606,"tag":635,"props":7848,"children":7849},{"style":647},[7850],{"type":611,"value":1117},{"type":606,"tag":635,"props":7852,"children":7853},{"style":716},[7854],{"type":611,"value":1199},{"type":606,"tag":635,"props":7856,"children":7857},{"style":647},[7858],{"type":611,"value":1117},{"type":606,"tag":635,"props":7860,"children":7861},{"style":716},[7862],{"type":611,"value":1122},{"type":606,"tag":635,"props":7864,"children":7865},{"style":647},[7866],{"type":611,"value":1117},{"type":606,"tag":635,"props":7868,"children":7869},{"style":716},[7870],{"type":611,"value":2889},{"type":606,"tag":635,"props":7872,"children":7873},{"style":647},[7874],{"type":611,"value":1117},{"type":606,"tag":635,"props":7876,"children":7877},{"style":641},[7878],{"type":611,"value":1301},{"type":606,"tag":635,"props":7880,"children":7881},{"style":716},[7882],{"type":611,"value":1409},{"type":606,"tag":635,"props":7884,"children":7885},{"style":647},[7886],{"type":611,"value":1117},{"type":606,"tag":635,"props":7888,"children":7889},{"style":716},[7890],{"type":611,"value":2739},{"type":606,"tag":635,"props":7892,"children":7893},{"style":647},[7894],{"type":611,"value":7564},{"type":606,"tag":635,"props":7896,"children":7897},{"class":637,"line":356},[7898,7902,7907,7911],{"type":606,"tag":635,"props":7899,"children":7900},{"style":716},[7901],{"type":611,"value":1134},{"type":606,"tag":635,"props":7903,"children":7904},{"style":647},[7905],{"type":611,"value":7906},".empty_list ",{"type":606,"tag":635,"props":7908,"children":7909},{"style":641},[7910],{"type":611,"value":1102},{"type":606,"tag":635,"props":7912,"children":7913},{"style":647},[7914],{"type":611,"value":4261},{"type":606,"tag":635,"props":7916,"children":7917},{"class":637,"line":367},[7918],{"type":606,"tag":635,"props":7919,"children":7920},{"style":647},[7921],{"type":611,"value":1063},{"type":606,"tag":635,"props":7923,"children":7924},{"class":637,"line":376},[7925,7929,7934],{"type":606,"tag":635,"props":7926,"children":7927},{"style":641},[7928],{"type":611,"value":1071},{"type":606,"tag":635,"props":7930,"children":7931},{"style":678},[7932],{"type":611,"value":7933}," test_statistics_normal_data",{"type":606,"tag":635,"props":7935,"children":7936},{"style":647},[7937],{"type":611,"value":1081},{"type":606,"tag":635,"props":7939,"children":7940},{"class":637,"line":385},[7941],{"type":606,"tag":635,"props":7942,"children":7943},{"style":692},[7944],{"type":611,"value":7945},"        \"\"\"Test statistics with normal data.\"\"\"\n",{"type":606,"tag":635,"props":7947,"children":7948},{"class":637,"line":394},[7949,7953,7957,7962,7966],{"type":606,"tag":635,"props":7950,"children":7951},{"style":647},[7952],{"type":611,"value":1097},{"type":606,"tag":635,"props":7954,"children":7955},{"style":641},[7956],{"type":611,"value":1102},{"type":606,"tag":635,"props":7958,"children":7959},{"style":647},[7960],{"type":611,"value":7961}," calculate_statistics(",{"type":606,"tag":635,"props":7963,"children":7964},{"style":716},[7965],{"type":611,"value":4755},{"type":606,"tag":635,"props":7967,"children":7968},{"style":647},[7969],{"type":611,"value":7970},".sample_numbers)\n",{"type":606,"tag":635,"props":7972,"children":7973},{"class":637,"line":403},[7974],{"type":606,"tag":635,"props":7975,"children":7976},{"style":647},[7977],{"type":611,"value":2684},{"type":606,"tag":635,"props":7979,"children":7980},{"class":637,"line":412},[7981,7985,7990,7995,8000,8004],{"type":606,"tag":635,"props":7982,"children":7983},{"style":716},[7984],{"type":611,"value":1134},{"type":606,"tag":635,"props":7986,"children":7987},{"style":647},[7988],{"type":611,"value":7989},".assertEqual(result[",{"type":606,"tag":635,"props":7991,"children":7992},{"style":692},[7993],{"type":611,"value":7994},"'count'",{"type":606,"tag":635,"props":7996,"children":7997},{"style":647},[7998],{"type":611,"value":7999},"], ",{"type":606,"tag":635,"props":8001,"children":8002},{"style":716},[8003],{"type":611,"value":2889},{"type":606,"tag":635,"props":8005,"children":8006},{"style":647},[8007],{"type":611,"value":770},{"type":606,"tag":635,"props":8009,"children":8010},{"class":637,"line":423},[8011,8015,8019,8024,8028,8033],{"type":606,"tag":635,"props":8012,"children":8013},{"style":716},[8014],{"type":611,"value":1134},{"type":606,"tag":635,"props":8016,"children":8017},{"style":647},[8018],{"type":611,"value":7989},{"type":606,"tag":635,"props":8020,"children":8021},{"style":692},[8022],{"type":611,"value":8023},"'sum'",{"type":606,"tag":635,"props":8025,"children":8026},{"style":647},[8027],{"type":611,"value":7999},{"type":606,"tag":635,"props":8029,"children":8030},{"style":716},[8031],{"type":611,"value":8032},"55",{"type":606,"tag":635,"props":8034,"children":8035},{"style":647},[8036],{"type":611,"value":770},{"type":606,"tag":635,"props":8038,"children":8039},{"class":637,"line":432},[8040,8044,8048,8053,8057,8062],{"type":606,"tag":635,"props":8041,"children":8042},{"style":716},[8043],{"type":611,"value":1134},{"type":606,"tag":635,"props":8045,"children":8046},{"style":647},[8047],{"type":611,"value":7989},{"type":606,"tag":635,"props":8049,"children":8050},{"style":692},[8051],{"type":611,"value":8052},"'average'",{"type":606,"tag":635,"props":8054,"children":8055},{"style":647},[8056],{"type":611,"value":7999},{"type":606,"tag":635,"props":8058,"children":8059},{"style":716},[8060],{"type":611,"value":8061},"5.5",{"type":606,"tag":635,"props":8063,"children":8064},{"style":647},[8065],{"type":611,"value":770},{"type":606,"tag":635,"props":8067,"children":8068},{"class":637,"line":441},[8069,8073,8077,8082,8086,8090],{"type":606,"tag":635,"props":8070,"children":8071},{"style":716},[8072],{"type":611,"value":1134},{"type":606,"tag":635,"props":8074,"children":8075},{"style":647},[8076],{"type":611,"value":7989},{"type":606,"tag":635,"props":8078,"children":8079},{"style":692},[8080],{"type":611,"value":8081},"'min'",{"type":606,"tag":635,"props":8083,"children":8084},{"style":647},[8085],{"type":611,"value":7999},{"type":606,"tag":635,"props":8087,"children":8088},{"style":716},[8089],{"type":611,"value":1480},{"type":606,"tag":635,"props":8091,"children":8092},{"style":647},[8093],{"type":611,"value":770},{"type":606,"tag":635,"props":8095,"children":8096},{"class":637,"line":450},[8097,8101,8105,8110,8114,8118],{"type":606,"tag":635,"props":8098,"children":8099},{"style":716},[8100],{"type":611,"value":1134},{"type":606,"tag":635,"props":8102,"children":8103},{"style":647},[8104],{"type":611,"value":7989},{"type":606,"tag":635,"props":8106,"children":8107},{"style":692},[8108],{"type":611,"value":8109},"'max'",{"type":606,"tag":635,"props":8111,"children":8112},{"style":647},[8113],{"type":611,"value":7999},{"type":606,"tag":635,"props":8115,"children":8116},{"style":716},[8117],{"type":611,"value":2889},{"type":606,"tag":635,"props":8119,"children":8120},{"style":647},[8121],{"type":611,"value":770},{"type":606,"tag":635,"props":8123,"children":8124},{"class":637,"line":459},[8125],{"type":606,"tag":635,"props":8126,"children":8127},{"style":647},[8128],{"type":611,"value":1063},{"type":606,"tag":635,"props":8130,"children":8131},{"class":637,"line":468},[8132,8136,8141],{"type":606,"tag":635,"props":8133,"children":8134},{"style":641},[8135],{"type":611,"value":1071},{"type":606,"tag":635,"props":8137,"children":8138},{"style":678},[8139],{"type":611,"value":8140}," test_statistics_empty_list",{"type":606,"tag":635,"props":8142,"children":8143},{"style":647},[8144],{"type":611,"value":1081},{"type":606,"tag":635,"props":8146,"children":8147},{"class":637,"line":477},[8148],{"type":606,"tag":635,"props":8149,"children":8150},{"style":692},[8151],{"type":611,"value":8152},"        \"\"\"Test statistics with empty list.\"\"\"\n",{"type":606,"tag":635,"props":8154,"children":8155},{"class":637,"line":488},[8156,8160,8164,8168,8172],{"type":606,"tag":635,"props":8157,"children":8158},{"style":647},[8159],{"type":611,"value":1097},{"type":606,"tag":635,"props":8161,"children":8162},{"style":641},[8163],{"type":611,"value":1102},{"type":606,"tag":635,"props":8165,"children":8166},{"style":647},[8167],{"type":611,"value":7961},{"type":606,"tag":635,"props":8169,"children":8170},{"style":716},[8171],{"type":611,"value":4755},{"type":606,"tag":635,"props":8173,"children":8174},{"style":647},[8175],{"type":611,"value":8176},".empty_list)\n",{"type":606,"tag":635,"props":8178,"children":8179},{"class":637,"line":497},[8180],{"type":606,"tag":635,"props":8181,"children":8182},{"style":647},[8183],{"type":611,"value":2684},{"type":606,"tag":635,"props":8185,"children":8186},{"class":637,"line":506},[8187,8191,8195,8199,8203,8207],{"type":606,"tag":635,"props":8188,"children":8189},{"style":716},[8190],{"type":611,"value":1134},{"type":606,"tag":635,"props":8192,"children":8193},{"style":647},[8194],{"type":611,"value":7989},{"type":606,"tag":635,"props":8196,"children":8197},{"style":692},[8198],{"type":611,"value":7994},{"type":606,"tag":635,"props":8200,"children":8201},{"style":647},[8202],{"type":611,"value":7999},{"type":606,"tag":635,"props":8204,"children":8205},{"style":716},[8206],{"type":611,"value":1199},{"type":606,"tag":635,"props":8208,"children":8209},{"style":647},[8210],{"type":611,"value":770},{"type":606,"tag":635,"props":8212,"children":8213},{"class":637,"line":515},[8214,8218,8222,8226,8230,8234],{"type":606,"tag":635,"props":8215,"children":8216},{"style":716},[8217],{"type":611,"value":1134},{"type":606,"tag":635,"props":8219,"children":8220},{"style":647},[8221],{"type":611,"value":7989},{"type":606,"tag":635,"props":8223,"children":8224},{"style":692},[8225],{"type":611,"value":8023},{"type":606,"tag":635,"props":8227,"children":8228},{"style":647},[8229],{"type":611,"value":7999},{"type":606,"tag":635,"props":8231,"children":8232},{"style":716},[8233],{"type":611,"value":1199},{"type":606,"tag":635,"props":8235,"children":8236},{"style":647},[8237],{"type":611,"value":770},{"type":606,"tag":635,"props":8239,"children":8240},{"class":637,"line":524},[8241,8245,8249,8253,8257,8261],{"type":606,"tag":635,"props":8242,"children":8243},{"style":716},[8244],{"type":611,"value":1134},{"type":606,"tag":635,"props":8246,"children":8247},{"style":647},[8248],{"type":611,"value":7989},{"type":606,"tag":635,"props":8250,"children":8251},{"style":692},[8252],{"type":611,"value":8052},{"type":606,"tag":635,"props":8254,"children":8255},{"style":647},[8256],{"type":611,"value":7999},{"type":606,"tag":635,"props":8258,"children":8259},{"style":716},[8260],{"type":611,"value":1199},{"type":606,"tag":635,"props":8262,"children":8263},{"style":647},[8264],{"type":611,"value":770},{"type":606,"tag":635,"props":8266,"children":8267},{"class":637,"line":533},[8268,8272,8277,8281],{"type":606,"tag":635,"props":8269,"children":8270},{"style":716},[8271],{"type":611,"value":1134},{"type":606,"tag":635,"props":8273,"children":8274},{"style":647},[8275],{"type":611,"value":8276},".assertIsNone(result[",{"type":606,"tag":635,"props":8278,"children":8279},{"style":692},[8280],{"type":611,"value":8081},{"type":606,"tag":635,"props":8282,"children":8283},{"style":647},[8284],{"type":611,"value":8285},"])\n",{"type":606,"tag":635,"props":8287,"children":8288},{"class":637,"line":544},[8289,8293,8297,8301],{"type":606,"tag":635,"props":8290,"children":8291},{"style":716},[8292],{"type":611,"value":1134},{"type":606,"tag":635,"props":8294,"children":8295},{"style":647},[8296],{"type":611,"value":8276},{"type":606,"tag":635,"props":8298,"children":8299},{"style":692},[8300],{"type":611,"value":8109},{"type":606,"tag":635,"props":8302,"children":8303},{"style":647},[8304],{"type":611,"value":8285},{"type":606,"tag":635,"props":8306,"children":8307},{"class":637,"line":553},[8308],{"type":606,"tag":635,"props":8309,"children":8310},{"style":647},[8311],{"type":611,"value":1063},{"type":606,"tag":635,"props":8313,"children":8314},{"class":637,"line":562},[8315,8319,8324],{"type":606,"tag":635,"props":8316,"children":8317},{"style":641},[8318],{"type":611,"value":1071},{"type":606,"tag":635,"props":8320,"children":8321},{"style":678},[8322],{"type":611,"value":8323}," test_statistics_single_item",{"type":606,"tag":635,"props":8325,"children":8326},{"style":647},[8327],{"type":611,"value":1081},{"type":606,"tag":635,"props":8329,"children":8330},{"class":637,"line":571},[8331],{"type":606,"tag":635,"props":8332,"children":8333},{"style":692},[8334],{"type":611,"value":8335},"        \"\"\"Test statistics with single item.\"\"\"\n",{"type":606,"tag":635,"props":8337,"children":8338},{"class":637,"line":580},[8339,8343,8347,8352,8357],{"type":606,"tag":635,"props":8340,"children":8341},{"style":647},[8342],{"type":611,"value":1097},{"type":606,"tag":635,"props":8344,"children":8345},{"style":641},[8346],{"type":611,"value":1102},{"type":606,"tag":635,"props":8348,"children":8349},{"style":647},[8350],{"type":611,"value":8351}," calculate_statistics([",{"type":606,"tag":635,"props":8353,"children":8354},{"style":716},[8355],{"type":611,"value":8356},"42",{"type":606,"tag":635,"props":8358,"children":8359},{"style":647},[8360],{"type":611,"value":8285},{"type":606,"tag":635,"props":8362,"children":8363},{"class":637,"line":589},[8364],{"type":606,"tag":635,"props":8365,"children":8366},{"style":647},[8367],{"type":611,"value":2684},{"type":606,"tag":635,"props":8369,"children":8370},{"class":637,"line":1733},[8371,8375,8379,8383,8387,8391],{"type":606,"tag":635,"props":8372,"children":8373},{"style":716},[8374],{"type":611,"value":1134},{"type":606,"tag":635,"props":8376,"children":8377},{"style":647},[8378],{"type":611,"value":7989},{"type":606,"tag":635,"props":8380,"children":8381},{"style":692},[8382],{"type":611,"value":7994},{"type":606,"tag":635,"props":8384,"children":8385},{"style":647},[8386],{"type":611,"value":7999},{"type":606,"tag":635,"props":8388,"children":8389},{"style":716},[8390],{"type":611,"value":1480},{"type":606,"tag":635,"props":8392,"children":8393},{"style":647},[8394],{"type":611,"value":770},{"type":606,"tag":635,"props":8396,"children":8397},{"class":637,"line":1750},[8398,8402,8406,8410,8414,8418],{"type":606,"tag":635,"props":8399,"children":8400},{"style":716},[8401],{"type":611,"value":1134},{"type":606,"tag":635,"props":8403,"children":8404},{"style":647},[8405],{"type":611,"value":7989},{"type":606,"tag":635,"props":8407,"children":8408},{"style":692},[8409],{"type":611,"value":8023},{"type":606,"tag":635,"props":8411,"children":8412},{"style":647},[8413],{"type":611,"value":7999},{"type":606,"tag":635,"props":8415,"children":8416},{"style":716},[8417],{"type":611,"value":8356},{"type":606,"tag":635,"props":8419,"children":8420},{"style":647},[8421],{"type":611,"value":770},{"type":606,"tag":635,"props":8423,"children":8424},{"class":637,"line":1759},[8425,8429,8433,8437,8441,8445],{"type":606,"tag":635,"props":8426,"children":8427},{"style":716},[8428],{"type":611,"value":1134},{"type":606,"tag":635,"props":8430,"children":8431},{"style":647},[8432],{"type":611,"value":7989},{"type":606,"tag":635,"props":8434,"children":8435},{"style":692},[8436],{"type":611,"value":8052},{"type":606,"tag":635,"props":8438,"children":8439},{"style":647},[8440],{"type":611,"value":7999},{"type":606,"tag":635,"props":8442,"children":8443},{"style":716},[8444],{"type":611,"value":8356},{"type":606,"tag":635,"props":8446,"children":8447},{"style":647},[8448],{"type":611,"value":770},{"type":606,"tag":635,"props":8450,"children":8451},{"class":637,"line":1783},[8452,8456,8460,8464,8468,8472],{"type":606,"tag":635,"props":8453,"children":8454},{"style":716},[8455],{"type":611,"value":1134},{"type":606,"tag":635,"props":8457,"children":8458},{"style":647},[8459],{"type":611,"value":7989},{"type":606,"tag":635,"props":8461,"children":8462},{"style":692},[8463],{"type":611,"value":8081},{"type":606,"tag":635,"props":8465,"children":8466},{"style":647},[8467],{"type":611,"value":7999},{"type":606,"tag":635,"props":8469,"children":8470},{"style":716},[8471],{"type":611,"value":8356},{"type":606,"tag":635,"props":8473,"children":8474},{"style":647},[8475],{"type":611,"value":770},{"type":606,"tag":635,"props":8477,"children":8478},{"class":637,"line":1809},[8479,8483,8487,8491,8495,8499],{"type":606,"tag":635,"props":8480,"children":8481},{"style":716},[8482],{"type":611,"value":1134},{"type":606,"tag":635,"props":8484,"children":8485},{"style":647},[8486],{"type":611,"value":7989},{"type":606,"tag":635,"props":8488,"children":8489},{"style":692},[8490],{"type":611,"value":8109},{"type":606,"tag":635,"props":8492,"children":8493},{"style":647},[8494],{"type":611,"value":7999},{"type":606,"tag":635,"props":8496,"children":8497},{"style":716},[8498],{"type":611,"value":8356},{"type":606,"tag":635,"props":8500,"children":8501},{"style":647},[8502],{"type":611,"value":770},{"type":606,"tag":635,"props":8504,"children":8505},{"class":637,"line":1817},[8506],{"type":606,"tag":635,"props":8507,"children":8508},{"style":647},[8509],{"type":611,"value":1063},{"type":606,"tag":635,"props":8511,"children":8512},{"class":637,"line":1834},[8513,8517,8522],{"type":606,"tag":635,"props":8514,"children":8515},{"style":641},[8516],{"type":611,"value":1071},{"type":606,"tag":635,"props":8518,"children":8519},{"style":678},[8520],{"type":611,"value":8521}," test_filter_even_numbers",{"type":606,"tag":635,"props":8523,"children":8524},{"style":647},[8525],{"type":611,"value":1081},{"type":606,"tag":635,"props":8527,"children":8528},{"class":637,"line":1843},[8529],{"type":606,"tag":635,"props":8530,"children":8531},{"style":692},[8532],{"type":611,"value":8533},"        \"\"\"Test filtering even numbers.\"\"\"\n",{"type":606,"tag":635,"props":8535,"children":8536},{"class":637,"line":1867},[8537,8541,8545,8550,8554],{"type":606,"tag":635,"props":8538,"children":8539},{"style":647},[8540],{"type":611,"value":1097},{"type":606,"tag":635,"props":8542,"children":8543},{"style":641},[8544],{"type":611,"value":1102},{"type":606,"tag":635,"props":8546,"children":8547},{"style":647},[8548],{"type":611,"value":8549}," filter_even_numbers(",{"type":606,"tag":635,"props":8551,"children":8552},{"style":716},[8553],{"type":611,"value":4755},{"type":606,"tag":635,"props":8555,"children":8556},{"style":647},[8557],{"type":611,"value":7970},{"type":606,"tag":635,"props":8559,"children":8560},{"class":637,"line":1891},[8561,8566,8570,8574,8578,8582,8586,8590,8594,8598,8602,8606,8610],{"type":606,"tag":635,"props":8562,"children":8563},{"style":647},[8564],{"type":611,"value":8565},"        expected ",{"type":606,"tag":635,"props":8567,"children":8568},{"style":641},[8569],{"type":611,"value":1102},{"type":606,"tag":635,"props":8571,"children":8572},{"style":647},[8573],{"type":611,"value":7735},{"type":606,"tag":635,"props":8575,"children":8576},{"style":716},[8577],{"type":611,"value":1409},{"type":606,"tag":635,"props":8579,"children":8580},{"style":647},[8581],{"type":611,"value":1117},{"type":606,"tag":635,"props":8583,"children":8584},{"style":716},[8585],{"type":611,"value":1365},{"type":606,"tag":635,"props":8587,"children":8588},{"style":647},[8589],{"type":611,"value":1117},{"type":606,"tag":635,"props":8591,"children":8592},{"style":716},[8593],{"type":611,"value":7780},{"type":606,"tag":635,"props":8595,"children":8596},{"style":647},[8597],{"type":611,"value":1117},{"type":606,"tag":635,"props":8599,"children":8600},{"style":716},[8601],{"type":611,"value":2739},{"type":606,"tag":635,"props":8603,"children":8604},{"style":647},[8605],{"type":611,"value":1117},{"type":606,"tag":635,"props":8607,"children":8608},{"style":716},[8609],{"type":611,"value":2889},{"type":606,"tag":635,"props":8611,"children":8612},{"style":647},[8613],{"type":611,"value":7564},{"type":606,"tag":635,"props":8615,"children":8616},{"class":637,"line":1899},[8617],{"type":606,"tag":635,"props":8618,"children":8619},{"style":647},[8620],{"type":611,"value":2684},{"type":606,"tag":635,"props":8622,"children":8623},{"class":637,"line":1908},[8624,8628],{"type":606,"tag":635,"props":8625,"children":8626},{"style":716},[8627],{"type":611,"value":1134},{"type":606,"tag":635,"props":8629,"children":8630},{"style":647},[8631],{"type":611,"value":8632},".assertEqual(result, expected)\n",{"type":606,"tag":635,"props":8634,"children":8635},{"class":637,"line":1935},[8636],{"type":606,"tag":635,"props":8637,"children":8638},{"style":647},[8639],{"type":611,"value":1063},{"type":606,"tag":635,"props":8641,"children":8642},{"class":637,"line":3367},[8643,8647,8652],{"type":606,"tag":635,"props":8644,"children":8645},{"style":641},[8646],{"type":611,"value":1071},{"type":606,"tag":635,"props":8648,"children":8649},{"style":678},[8650],{"type":611,"value":8651}," test_filter_even_numbers_mixed",{"type":606,"tag":635,"props":8653,"children":8654},{"style":647},[8655],{"type":611,"value":1081},{"type":606,"tag":635,"props":8657,"children":8658},{"class":637,"line":3391},[8659],{"type":606,"tag":635,"props":8660,"children":8661},{"style":692},[8662],{"type":611,"value":8663},"        \"\"\"Test filtering with negative and zero.\"\"\"\n",{"type":606,"tag":635,"props":8665,"children":8666},{"class":637,"line":3408},[8667,8671,8675,8679,8683],{"type":606,"tag":635,"props":8668,"children":8669},{"style":647},[8670],{"type":611,"value":1097},{"type":606,"tag":635,"props":8672,"children":8673},{"style":641},[8674],{"type":611,"value":1102},{"type":606,"tag":635,"props":8676,"children":8677},{"style":647},[8678],{"type":611,"value":8549},{"type":606,"tag":635,"props":8680,"children":8681},{"style":716},[8682],{"type":611,"value":4755},{"type":606,"tag":635,"props":8684,"children":8685},{"style":647},[8686],{"type":611,"value":8687},".mixed_numbers)\n",{"type":606,"tag":635,"props":8689,"children":8690},{"class":637,"line":3416},[8691,8695,8699,8703,8707,8711,8715,8719,8723,8727,8731,8735],{"type":606,"tag":635,"props":8692,"children":8693},{"style":647},[8694],{"type":611,"value":8565},{"type":606,"tag":635,"props":8696,"children":8697},{"style":641},[8698],{"type":611,"value":1102},{"type":606,"tag":635,"props":8700,"children":8701},{"style":647},[8702],{"type":611,"value":7735},{"type":606,"tag":635,"props":8704,"children":8705},{"style":716},[8706],{"type":611,"value":1199},{"type":606,"tag":635,"props":8708,"children":8709},{"style":647},[8710],{"type":611,"value":1117},{"type":606,"tag":635,"props":8712,"children":8713},{"style":716},[8714],{"type":611,"value":2889},{"type":606,"tag":635,"props":8716,"children":8717},{"style":647},[8718],{"type":611,"value":1117},{"type":606,"tag":635,"props":8720,"children":8721},{"style":641},[8722],{"type":611,"value":1301},{"type":606,"tag":635,"props":8724,"children":8725},{"style":716},[8726],{"type":611,"value":1409},{"type":606,"tag":635,"props":8728,"children":8729},{"style":647},[8730],{"type":611,"value":1117},{"type":606,"tag":635,"props":8732,"children":8733},{"style":716},[8734],{"type":611,"value":2739},{"type":606,"tag":635,"props":8736,"children":8737},{"style":647},[8738],{"type":611,"value":7564},{"type":606,"tag":635,"props":8740,"children":8741},{"class":637,"line":3425},[8742],{"type":606,"tag":635,"props":8743,"children":8744},{"style":647},[8745],{"type":611,"value":2684},{"type":606,"tag":635,"props":8747,"children":8748},{"class":637,"line":3443},[8749,8753],{"type":606,"tag":635,"props":8750,"children":8751},{"style":716},[8752],{"type":611,"value":1134},{"type":606,"tag":635,"props":8754,"children":8755},{"style":647},[8756],{"type":611,"value":8632},{"type":606,"tag":635,"props":8758,"children":8759},{"class":637,"line":3452},[8760],{"type":606,"tag":635,"props":8761,"children":8762},{"style":647},[8763],{"type":611,"value":1063},{"type":606,"tag":635,"props":8765,"children":8766},{"class":637,"line":3460},[8767,8771,8776],{"type":606,"tag":635,"props":8768,"children":8769},{"style":641},[8770],{"type":611,"value":1071},{"type":606,"tag":635,"props":8772,"children":8773},{"style":678},[8774],{"type":611,"value":8775}," test_find_common_items",{"type":606,"tag":635,"props":8777,"children":8778},{"style":647},[8779],{"type":611,"value":1081},{"type":606,"tag":635,"props":8781,"children":8782},{"class":637,"line":3482},[8783],{"type":606,"tag":635,"props":8784,"children":8785},{"style":692},[8786],{"type":611,"value":8787},"        \"\"\"Test finding common items.\"\"\"\n",{"type":606,"tag":635,"props":8789,"children":8790},{"class":637,"line":3513},[8791,8796,8800,8804,8808,8812,8816,8820,8824,8828,8832,8836,8840],{"type":606,"tag":635,"props":8792,"children":8793},{"style":647},[8794],{"type":611,"value":8795},"        list1 ",{"type":606,"tag":635,"props":8797,"children":8798},{"style":641},[8799],{"type":611,"value":1102},{"type":606,"tag":635,"props":8801,"children":8802},{"style":647},[8803],{"type":611,"value":7735},{"type":606,"tag":635,"props":8805,"children":8806},{"style":716},[8807],{"type":611,"value":1480},{"type":606,"tag":635,"props":8809,"children":8810},{"style":647},[8811],{"type":611,"value":1117},{"type":606,"tag":635,"props":8813,"children":8814},{"style":716},[8815],{"type":611,"value":1409},{"type":606,"tag":635,"props":8817,"children":8818},{"style":647},[8819],{"type":611,"value":1117},{"type":606,"tag":635,"props":8821,"children":8822},{"style":716},[8823],{"type":611,"value":1122},{"type":606,"tag":635,"props":8825,"children":8826},{"style":647},[8827],{"type":611,"value":1117},{"type":606,"tag":635,"props":8829,"children":8830},{"style":716},[8831],{"type":611,"value":1365},{"type":606,"tag":635,"props":8833,"children":8834},{"style":647},[8835],{"type":611,"value":1117},{"type":606,"tag":635,"props":8837,"children":8838},{"style":716},[8839],{"type":611,"value":1112},{"type":606,"tag":635,"props":8841,"children":8842},{"style":647},[8843],{"type":611,"value":7564},{"type":606,"tag":635,"props":8845,"children":8846},{"class":637,"line":3521},[8847,8852,8856,8860,8864,8868,8872,8876,8880,8884,8888,8892,8896],{"type":606,"tag":635,"props":8848,"children":8849},{"style":647},[8850],{"type":611,"value":8851},"        list2 ",{"type":606,"tag":635,"props":8853,"children":8854},{"style":641},[8855],{"type":611,"value":1102},{"type":606,"tag":635,"props":8857,"children":8858},{"style":647},[8859],{"type":611,"value":7735},{"type":606,"tag":635,"props":8861,"children":8862},{"style":716},[8863],{"type":611,"value":1365},{"type":606,"tag":635,"props":8865,"children":8866},{"style":647},[8867],{"type":611,"value":1117},{"type":606,"tag":635,"props":8869,"children":8870},{"style":716},[8871],{"type":611,"value":1112},{"type":606,"tag":635,"props":8873,"children":8874},{"style":647},[8875],{"type":611,"value":1117},{"type":606,"tag":635,"props":8877,"children":8878},{"style":716},[8879],{"type":611,"value":7780},{"type":606,"tag":635,"props":8881,"children":8882},{"style":647},[8883],{"type":611,"value":1117},{"type":606,"tag":635,"props":8885,"children":8886},{"style":716},[8887],{"type":611,"value":7789},{"type":606,"tag":635,"props":8889,"children":8890},{"style":647},[8891],{"type":611,"value":1117},{"type":606,"tag":635,"props":8893,"children":8894},{"style":716},[8895],{"type":611,"value":2739},{"type":606,"tag":635,"props":8897,"children":8898},{"style":647},[8899],{"type":611,"value":7564},{"type":606,"tag":635,"props":8901,"children":8902},{"class":637,"line":3530},[8903],{"type":606,"tag":635,"props":8904,"children":8905},{"style":647},[8906],{"type":611,"value":2684},{"type":606,"tag":635,"props":8908,"children":8909},{"class":637,"line":3543},[8910,8914,8918],{"type":606,"tag":635,"props":8911,"children":8912},{"style":647},[8913],{"type":611,"value":1097},{"type":606,"tag":635,"props":8915,"children":8916},{"style":641},[8917],{"type":611,"value":1102},{"type":606,"tag":635,"props":8919,"children":8920},{"style":647},[8921],{"type":611,"value":8922}," find_common_items(list1, list2)\n",{"type":606,"tag":635,"props":8924,"children":8925},{"class":637,"line":3582},[8926],{"type":606,"tag":635,"props":8927,"children":8928},{"style":647},[8929],{"type":611,"value":2684},{"type":606,"tag":635,"props":8931,"children":8932},{"class":637,"line":3604},[8933],{"type":606,"tag":635,"props":8934,"children":8935},{"style":664},[8936],{"type":611,"value":8937},"        # Sort both lists since order might vary\n",{"type":606,"tag":635,"props":8939,"children":8940},{"class":637,"line":3622},[8941,8945,8949,8954,8959,8963,8967,8971],{"type":606,"tag":635,"props":8942,"children":8943},{"style":716},[8944],{"type":611,"value":1134},{"type":606,"tag":635,"props":8946,"children":8947},{"style":647},[8948],{"type":611,"value":5181},{"type":606,"tag":635,"props":8950,"children":8951},{"style":716},[8952],{"type":611,"value":8953},"sorted",{"type":606,"tag":635,"props":8955,"children":8956},{"style":647},[8957],{"type":611,"value":8958},"(result), [",{"type":606,"tag":635,"props":8960,"children":8961},{"style":716},[8962],{"type":611,"value":1365},{"type":606,"tag":635,"props":8964,"children":8965},{"style":647},[8966],{"type":611,"value":1117},{"type":606,"tag":635,"props":8968,"children":8969},{"style":716},[8970],{"type":611,"value":1112},{"type":606,"tag":635,"props":8972,"children":8973},{"style":647},[8974],{"type":611,"value":8285},{"type":606,"tag":635,"props":8976,"children":8977},{"class":637,"line":3643},[8978],{"type":606,"tag":635,"props":8979,"children":8980},{"style":647},[8981],{"type":611,"value":1063},{"type":606,"tag":635,"props":8983,"children":8984},{"class":637,"line":3651},[8985,8989,8994],{"type":606,"tag":635,"props":8986,"children":8987},{"style":641},[8988],{"type":611,"value":1071},{"type":606,"tag":635,"props":8990,"children":8991},{"style":678},[8992],{"type":611,"value":8993}," test_find_common_items_no_overlap",{"type":606,"tag":635,"props":8995,"children":8996},{"style":647},[8997],{"type":611,"value":1081},{"type":606,"tag":635,"props":8999,"children":9000},{"class":637,"line":3660},[9001],{"type":606,"tag":635,"props":9002,"children":9003},{"style":692},[9004],{"type":611,"value":9005},"        \"\"\"Test finding common items with no overlap.\"\"\"\n",{"type":606,"tag":635,"props":9007,"children":9008},{"class":637,"line":3672},[9009,9013,9017,9021,9025,9029,9033,9037,9041],{"type":606,"tag":635,"props":9010,"children":9011},{"style":647},[9012],{"type":611,"value":8795},{"type":606,"tag":635,"props":9014,"children":9015},{"style":641},[9016],{"type":611,"value":1102},{"type":606,"tag":635,"props":9018,"children":9019},{"style":647},[9020],{"type":611,"value":7735},{"type":606,"tag":635,"props":9022,"children":9023},{"style":716},[9024],{"type":611,"value":1480},{"type":606,"tag":635,"props":9026,"children":9027},{"style":647},[9028],{"type":611,"value":1117},{"type":606,"tag":635,"props":9030,"children":9031},{"style":716},[9032],{"type":611,"value":1409},{"type":606,"tag":635,"props":9034,"children":9035},{"style":647},[9036],{"type":611,"value":1117},{"type":606,"tag":635,"props":9038,"children":9039},{"style":716},[9040],{"type":611,"value":1122},{"type":606,"tag":635,"props":9042,"children":9043},{"style":647},[9044],{"type":611,"value":7564},{"type":606,"tag":635,"props":9046,"children":9047},{"class":637,"line":3709},[9048,9052,9056,9060,9064,9068,9072,9076,9080],{"type":606,"tag":635,"props":9049,"children":9050},{"style":647},[9051],{"type":611,"value":8851},{"type":606,"tag":635,"props":9053,"children":9054},{"style":641},[9055],{"type":611,"value":1102},{"type":606,"tag":635,"props":9057,"children":9058},{"style":647},[9059],{"type":611,"value":7735},{"type":606,"tag":635,"props":9061,"children":9062},{"style":716},[9063],{"type":611,"value":1365},{"type":606,"tag":635,"props":9065,"children":9066},{"style":647},[9067],{"type":611,"value":1117},{"type":606,"tag":635,"props":9069,"children":9070},{"style":716},[9071],{"type":611,"value":1112},{"type":606,"tag":635,"props":9073,"children":9074},{"style":647},[9075],{"type":611,"value":1117},{"type":606,"tag":635,"props":9077,"children":9078},{"style":716},[9079],{"type":611,"value":7780},{"type":606,"tag":635,"props":9081,"children":9082},{"style":647},[9083],{"type":611,"value":7564},{"type":606,"tag":635,"props":9085,"children":9086},{"class":637,"line":3730},[9087],{"type":606,"tag":635,"props":9088,"children":9089},{"style":647},[9090],{"type":611,"value":2684},{"type":606,"tag":635,"props":9092,"children":9093},{"class":637,"line":3746},[9094,9098,9102],{"type":606,"tag":635,"props":9095,"children":9096},{"style":647},[9097],{"type":611,"value":1097},{"type":606,"tag":635,"props":9099,"children":9100},{"style":641},[9101],{"type":611,"value":1102},{"type":606,"tag":635,"props":9103,"children":9104},{"style":647},[9105],{"type":611,"value":8922},{"type":606,"tag":635,"props":9107,"children":9108},{"class":637,"line":3767},[9109],{"type":606,"tag":635,"props":9110,"children":9111},{"style":647},[9112],{"type":611,"value":2684},{"type":606,"tag":635,"props":9114,"children":9115},{"class":637,"line":3775},[9116,9120],{"type":606,"tag":635,"props":9117,"children":9118},{"style":716},[9119],{"type":611,"value":1134},{"type":606,"tag":635,"props":9121,"children":9122},{"style":647},[9123],{"type":611,"value":9124},".assertEqual(result, [])\n",{"type":606,"tag":635,"props":9126,"children":9127},{"class":637,"line":3784},[9128],{"type":606,"tag":635,"props":9129,"children":9130},{"emptyLinePlaceholder":13},[9131],{"type":611,"value":658},{"type":606,"tag":635,"props":9133,"children":9134},{"class":637,"line":3796},[9135],{"type":606,"tag":635,"props":9136,"children":9137},{"style":664},[9138],{"type":611,"value":9139},"# Demonstrate running specific tests\n",{"type":606,"tag":635,"props":9141,"children":9142},{"class":637,"line":3821},[9143,9147,9152],{"type":606,"tag":635,"props":9144,"children":9145},{"style":641},[9146],{"type":611,"value":675},{"type":606,"tag":635,"props":9148,"children":9149},{"style":678},[9150],{"type":611,"value":9151}," run_sample_tests",{"type":606,"tag":635,"props":9153,"children":9154},{"style":647},[9155],{"type":611,"value":3440},{"type":606,"tag":635,"props":9157,"children":9158},{"class":637,"line":3842},[9159],{"type":606,"tag":635,"props":9160,"children":9161},{"style":692},[9162],{"type":611,"value":9163},"    \"\"\"Run some tests manually to show results.\"\"\"\n",{"type":606,"tag":635,"props":9165,"children":9166},{"class":637,"line":3858},[9167],{"type":606,"tag":635,"props":9168,"children":9169},{"style":647},[9170],{"type":611,"value":1063},{"type":606,"tag":635,"props":9172,"children":9173},{"class":637,"line":3879},[9174,9178,9182,9186,9191,9196],{"type":606,"tag":635,"props":9175,"children":9176},{"style":716},[9177],{"type":611,"value":3466},{"type":606,"tag":635,"props":9179,"children":9180},{"style":647},[9181],{"type":611,"value":760},{"type":606,"tag":635,"props":9183,"children":9184},{"style":692},[9185],{"type":611,"value":961},{"type":606,"tag":635,"props":9187,"children":9188},{"style":716},[9189],{"type":611,"value":9190},"\\n",{"type":606,"tag":635,"props":9192,"children":9193},{"style":692},[9194],{"type":611,"value":9195},"Data Processing Tests:\"",{"type":606,"tag":635,"props":9197,"children":9198},{"style":647},[9199],{"type":611,"value":770},{"type":606,"tag":635,"props":9201,"children":9202},{"class":637,"line":3887},[9203,9207,9211,9215,9219,9223],{"type":606,"tag":635,"props":9204,"children":9205},{"style":716},[9206],{"type":611,"value":3466},{"type":606,"tag":635,"props":9208,"children":9209},{"style":647},[9210],{"type":611,"value":760},{"type":606,"tag":635,"props":9212,"children":9213},{"style":692},[9214],{"type":611,"value":3496},{"type":606,"tag":635,"props":9216,"children":9217},{"style":641},[9218],{"type":611,"value":3501},{"type":606,"tag":635,"props":9220,"children":9221},{"style":716},[9222],{"type":611,"value":3506},{"type":606,"tag":635,"props":9224,"children":9225},{"style":647},[9226],{"type":611,"value":770},{"type":606,"tag":635,"props":9228,"children":9229},{"class":637,"line":3896},[9230],{"type":606,"tag":635,"props":9231,"children":9232},{"style":647},[9233],{"type":611,"value":1063},{"type":606,"tag":635,"props":9235,"children":9236},{"class":637,"line":3908},[9237],{"type":606,"tag":635,"props":9238,"children":9239},{"style":664},[9240],{"type":611,"value":9241},"    # Test statistics\n",{"type":606,"tag":635,"props":9243,"children":9244},{"class":637,"line":3937},[9245,9250,9254,9258,9262,9266,9270,9274,9278,9282,9286,9290,9294],{"type":606,"tag":635,"props":9246,"children":9247},{"style":647},[9248],{"type":611,"value":9249},"    numbers ",{"type":606,"tag":635,"props":9251,"children":9252},{"style":641},[9253],{"type":611,"value":1102},{"type":606,"tag":635,"props":9255,"children":9256},{"style":647},[9257],{"type":611,"value":7735},{"type":606,"tag":635,"props":9259,"children":9260},{"style":716},[9261],{"type":611,"value":1409},{"type":606,"tag":635,"props":9263,"children":9264},{"style":647},[9265],{"type":611,"value":1117},{"type":606,"tag":635,"props":9267,"children":9268},{"style":716},[9269],{"type":611,"value":1365},{"type":606,"tag":635,"props":9271,"children":9272},{"style":647},[9273],{"type":611,"value":1117},{"type":606,"tag":635,"props":9275,"children":9276},{"style":716},[9277],{"type":611,"value":7780},{"type":606,"tag":635,"props":9279,"children":9280},{"style":647},[9281],{"type":611,"value":1117},{"type":606,"tag":635,"props":9283,"children":9284},{"style":716},[9285],{"type":611,"value":2739},{"type":606,"tag":635,"props":9287,"children":9288},{"style":647},[9289],{"type":611,"value":1117},{"type":606,"tag":635,"props":9291,"children":9292},{"style":716},[9293],{"type":611,"value":2889},{"type":606,"tag":635,"props":9295,"children":9296},{"style":647},[9297],{"type":611,"value":7564},{"type":606,"tag":635,"props":9299,"children":9300},{"class":637,"line":3966},[9301,9306,9310],{"type":606,"tag":635,"props":9302,"children":9303},{"style":647},[9304],{"type":611,"value":9305},"    stats ",{"type":606,"tag":635,"props":9307,"children":9308},{"style":641},[9309],{"type":611,"value":1102},{"type":606,"tag":635,"props":9311,"children":9312},{"style":647},[9313],{"type":611,"value":9314}," calculate_statistics(numbers)\n",{"type":606,"tag":635,"props":9316,"children":9317},{"class":637,"line":3995},[9318],{"type":606,"tag":635,"props":9319,"children":9320},{"style":647},[9321],{"type":611,"value":1063},{"type":606,"tag":635,"props":9323,"children":9324},{"class":637,"line":4016},[9325,9330,9334],{"type":606,"tag":635,"props":9326,"children":9327},{"style":647},[9328],{"type":611,"value":9329},"    expected_sum ",{"type":606,"tag":635,"props":9331,"children":9332},{"style":641},[9333],{"type":611,"value":1102},{"type":606,"tag":635,"props":9335,"children":9336},{"style":716},[9337],{"type":611,"value":9338}," 30\n",{"type":606,"tag":635,"props":9340,"children":9341},{"class":637,"line":4032},[9342,9347,9351],{"type":606,"tag":635,"props":9343,"children":9344},{"style":647},[9345],{"type":611,"value":9346},"    expected_avg ",{"type":606,"tag":635,"props":9348,"children":9349},{"style":641},[9350],{"type":611,"value":1102},{"type":606,"tag":635,"props":9352,"children":9353},{"style":716},[9354],{"type":611,"value":9355}," 6.0\n",{"type":606,"tag":635,"props":9357,"children":9358},{"class":637,"line":4053},[9359],{"type":606,"tag":635,"props":9360,"children":9361},{"style":647},[9362],{"type":611,"value":1063},{"type":606,"tag":635,"props":9364,"children":9365},{"class":637,"line":4061},[9366,9370,9375,9379,9384,9388,9393,9398,9402,9406,9410,9414],{"type":606,"tag":635,"props":9367,"children":9368},{"style":641},[9369],{"type":611,"value":703},{"type":606,"tag":635,"props":9371,"children":9372},{"style":647},[9373],{"type":611,"value":9374}," stats[",{"type":606,"tag":635,"props":9376,"children":9377},{"style":692},[9378],{"type":611,"value":8023},{"type":606,"tag":635,"props":9380,"children":9381},{"style":647},[9382],{"type":611,"value":9383},"] ",{"type":606,"tag":635,"props":9385,"children":9386},{"style":641},[9387],{"type":611,"value":2235},{"type":606,"tag":635,"props":9389,"children":9390},{"style":647},[9391],{"type":611,"value":9392}," expected_sum ",{"type":606,"tag":635,"props":9394,"children":9395},{"style":641},[9396],{"type":611,"value":9397},"and",{"type":606,"tag":635,"props":9399,"children":9400},{"style":647},[9401],{"type":611,"value":9374},{"type":606,"tag":635,"props":9403,"children":9404},{"style":692},[9405],{"type":611,"value":8052},{"type":606,"tag":635,"props":9407,"children":9408},{"style":647},[9409],{"type":611,"value":9383},{"type":606,"tag":635,"props":9411,"children":9412},{"style":641},[9413],{"type":611,"value":2235},{"type":606,"tag":635,"props":9415,"children":9416},{"style":647},[9417],{"type":611,"value":9418}," expected_avg:\n",{"type":606,"tag":635,"props":9420,"children":9421},{"class":637,"line":5946},[9422,9426,9430,9435],{"type":606,"tag":635,"props":9423,"children":9424},{"style":716},[9425],{"type":611,"value":3588},{"type":606,"tag":635,"props":9427,"children":9428},{"style":647},[9429],{"type":611,"value":760},{"type":606,"tag":635,"props":9431,"children":9432},{"style":692},[9433],{"type":611,"value":9434},"\"✓ Statistics calculation test passed\"",{"type":606,"tag":635,"props":9436,"children":9437},{"style":647},[9438],{"type":611,"value":770},{"type":606,"tag":635,"props":9440,"children":9441},{"class":637,"line":5970},[9442,9446],{"type":606,"tag":635,"props":9443,"children":9444},{"style":641},[9445],{"type":611,"value":2548},{"type":606,"tag":635,"props":9447,"children":9448},{"style":647},[9449],{"type":611,"value":742},{"type":606,"tag":635,"props":9451,"children":9452},{"class":637,"line":5978},[9453,9457,9461,9466],{"type":606,"tag":635,"props":9454,"children":9455},{"style":716},[9456],{"type":611,"value":3588},{"type":606,"tag":635,"props":9458,"children":9459},{"style":647},[9460],{"type":611,"value":760},{"type":606,"tag":635,"props":9462,"children":9463},{"style":692},[9464],{"type":611,"value":9465},"\"✗ Statistics calculation test failed\"",{"type":606,"tag":635,"props":9467,"children":9468},{"style":647},[9469],{"type":611,"value":770},{"type":606,"tag":635,"props":9471,"children":9472},{"class":637,"line":6000},[9473],{"type":606,"tag":635,"props":9474,"children":9475},{"style":647},[9476],{"type":611,"value":1063},{"type":606,"tag":635,"props":9478,"children":9479},{"class":637,"line":6008},[9480],{"type":606,"tag":635,"props":9481,"children":9482},{"style":664},[9483],{"type":611,"value":9484},"    # Test filtering\n",{"type":606,"tag":635,"props":9486,"children":9487},{"class":637,"line":6025},[9488,9493,9497,9501,9505,9509,9513,9517,9521,9525,9529,9533,9537,9541,9545,9549,9553,9557,9561,9565,9569,9573,9577],{"type":606,"tag":635,"props":9489,"children":9490},{"style":647},[9491],{"type":611,"value":9492},"    all_numbers ",{"type":606,"tag":635,"props":9494,"children":9495},{"style":641},[9496],{"type":611,"value":1102},{"type":606,"tag":635,"props":9498,"children":9499},{"style":647},[9500],{"type":611,"value":7735},{"type":606,"tag":635,"props":9502,"children":9503},{"style":716},[9504],{"type":611,"value":1480},{"type":606,"tag":635,"props":9506,"children":9507},{"style":647},[9508],{"type":611,"value":1117},{"type":606,"tag":635,"props":9510,"children":9511},{"style":716},[9512],{"type":611,"value":1409},{"type":606,"tag":635,"props":9514,"children":9515},{"style":647},[9516],{"type":611,"value":1117},{"type":606,"tag":635,"props":9518,"children":9519},{"style":716},[9520],{"type":611,"value":1122},{"type":606,"tag":635,"props":9522,"children":9523},{"style":647},[9524],{"type":611,"value":1117},{"type":606,"tag":635,"props":9526,"children":9527},{"style":716},[9528],{"type":611,"value":1365},{"type":606,"tag":635,"props":9530,"children":9531},{"style":647},[9532],{"type":611,"value":1117},{"type":606,"tag":635,"props":9534,"children":9535},{"style":716},[9536],{"type":611,"value":1112},{"type":606,"tag":635,"props":9538,"children":9539},{"style":647},[9540],{"type":611,"value":1117},{"type":606,"tag":635,"props":9542,"children":9543},{"style":716},[9544],{"type":611,"value":7780},{"type":606,"tag":635,"props":9546,"children":9547},{"style":647},[9548],{"type":611,"value":1117},{"type":606,"tag":635,"props":9550,"children":9551},{"style":716},[9552],{"type":611,"value":7789},{"type":606,"tag":635,"props":9554,"children":9555},{"style":647},[9556],{"type":611,"value":1117},{"type":606,"tag":635,"props":9558,"children":9559},{"style":716},[9560],{"type":611,"value":2739},{"type":606,"tag":635,"props":9562,"children":9563},{"style":647},[9564],{"type":611,"value":1117},{"type":606,"tag":635,"props":9566,"children":9567},{"style":716},[9568],{"type":611,"value":7806},{"type":606,"tag":635,"props":9570,"children":9571},{"style":647},[9572],{"type":611,"value":1117},{"type":606,"tag":635,"props":9574,"children":9575},{"style":716},[9576],{"type":611,"value":2889},{"type":606,"tag":635,"props":9578,"children":9579},{"style":647},[9580],{"type":611,"value":7564},{"type":606,"tag":635,"props":9582,"children":9583},{"class":637,"line":6034},[9584,9589,9593],{"type":606,"tag":635,"props":9585,"children":9586},{"style":647},[9587],{"type":611,"value":9588},"    even_numbers ",{"type":606,"tag":635,"props":9590,"children":9591},{"style":641},[9592],{"type":611,"value":1102},{"type":606,"tag":635,"props":9594,"children":9595},{"style":647},[9596],{"type":611,"value":9597}," filter_even_numbers(all_numbers)\n",{"type":606,"tag":635,"props":9599,"children":9600},{"class":637,"line":6059},[9601,9606,9610,9614,9618,9622,9626,9630,9634,9638,9642,9646,9650],{"type":606,"tag":635,"props":9602,"children":9603},{"style":647},[9604],{"type":611,"value":9605},"    expected_evens ",{"type":606,"tag":635,"props":9607,"children":9608},{"style":641},[9609],{"type":611,"value":1102},{"type":606,"tag":635,"props":9611,"children":9612},{"style":647},[9613],{"type":611,"value":7735},{"type":606,"tag":635,"props":9615,"children":9616},{"style":716},[9617],{"type":611,"value":1409},{"type":606,"tag":635,"props":9619,"children":9620},{"style":647},[9621],{"type":611,"value":1117},{"type":606,"tag":635,"props":9623,"children":9624},{"style":716},[9625],{"type":611,"value":1365},{"type":606,"tag":635,"props":9627,"children":9628},{"style":647},[9629],{"type":611,"value":1117},{"type":606,"tag":635,"props":9631,"children":9632},{"style":716},[9633],{"type":611,"value":7780},{"type":606,"tag":635,"props":9635,"children":9636},{"style":647},[9637],{"type":611,"value":1117},{"type":606,"tag":635,"props":9639,"children":9640},{"style":716},[9641],{"type":611,"value":2739},{"type":606,"tag":635,"props":9643,"children":9644},{"style":647},[9645],{"type":611,"value":1117},{"type":606,"tag":635,"props":9647,"children":9648},{"style":716},[9649],{"type":611,"value":2889},{"type":606,"tag":635,"props":9651,"children":9652},{"style":647},[9653],{"type":611,"value":7564},{"type":606,"tag":635,"props":9655,"children":9656},{"class":637,"line":6076},[9657],{"type":606,"tag":635,"props":9658,"children":9659},{"style":647},[9660],{"type":611,"value":1063},{"type":606,"tag":635,"props":9662,"children":9663},{"class":637,"line":6094},[9664,9668,9673,9677],{"type":606,"tag":635,"props":9665,"children":9666},{"style":641},[9667],{"type":611,"value":703},{"type":606,"tag":635,"props":9669,"children":9670},{"style":647},[9671],{"type":611,"value":9672}," even_numbers ",{"type":606,"tag":635,"props":9674,"children":9675},{"style":641},[9676],{"type":611,"value":2235},{"type":606,"tag":635,"props":9678,"children":9679},{"style":647},[9680],{"type":611,"value":9681}," expected_evens:\n",{"type":606,"tag":635,"props":9683,"children":9684},{"class":637,"line":6102},[9685,9689,9693,9698],{"type":606,"tag":635,"props":9686,"children":9687},{"style":716},[9688],{"type":611,"value":3588},{"type":606,"tag":635,"props":9690,"children":9691},{"style":647},[9692],{"type":611,"value":760},{"type":606,"tag":635,"props":9694,"children":9695},{"style":692},[9696],{"type":611,"value":9697},"\"✓ Even number filtering test passed\"",{"type":606,"tag":635,"props":9699,"children":9700},{"style":647},[9701],{"type":611,"value":770},{"type":606,"tag":635,"props":9703,"children":9704},{"class":637,"line":6111},[9705,9709],{"type":606,"tag":635,"props":9706,"children":9707},{"style":641},[9708],{"type":611,"value":2548},{"type":606,"tag":635,"props":9710,"children":9711},{"style":647},[9712],{"type":611,"value":742},{"type":606,"tag":635,"props":9714,"children":9715},{"class":637,"line":6151},[9716,9720,9724,9729],{"type":606,"tag":635,"props":9717,"children":9718},{"style":716},[9719],{"type":611,"value":3588},{"type":606,"tag":635,"props":9721,"children":9722},{"style":647},[9723],{"type":611,"value":760},{"type":606,"tag":635,"props":9725,"children":9726},{"style":692},[9727],{"type":611,"value":9728},"\"✗ Even number filtering test failed\"",{"type":606,"tag":635,"props":9730,"children":9731},{"style":647},[9732],{"type":611,"value":770},{"type":606,"tag":635,"props":9734,"children":9735},{"class":637,"line":6159},[9736],{"type":606,"tag":635,"props":9737,"children":9738},{"style":647},[9739],{"type":611,"value":1063},{"type":606,"tag":635,"props":9741,"children":9742},{"class":637,"line":6176},[9743],{"type":606,"tag":635,"props":9744,"children":9745},{"style":664},[9746],{"type":611,"value":9747},"    # Test common items\n",{"type":606,"tag":635,"props":9749,"children":9750},{"class":637,"line":6185},[9751,9756,9760,9764,9768,9772,9776,9780,9784,9788,9792],{"type":606,"tag":635,"props":9752,"children":9753},{"style":647},[9754],{"type":611,"value":9755},"    list_a ",{"type":606,"tag":635,"props":9757,"children":9758},{"style":641},[9759],{"type":611,"value":1102},{"type":606,"tag":635,"props":9761,"children":9762},{"style":647},[9763],{"type":611,"value":7735},{"type":606,"tag":635,"props":9765,"children":9766},{"style":716},[9767],{"type":611,"value":1480},{"type":606,"tag":635,"props":9769,"children":9770},{"style":647},[9771],{"type":611,"value":1117},{"type":606,"tag":635,"props":9773,"children":9774},{"style":716},[9775],{"type":611,"value":1409},{"type":606,"tag":635,"props":9777,"children":9778},{"style":647},[9779],{"type":611,"value":1117},{"type":606,"tag":635,"props":9781,"children":9782},{"style":716},[9783],{"type":611,"value":1122},{"type":606,"tag":635,"props":9785,"children":9786},{"style":647},[9787],{"type":611,"value":1117},{"type":606,"tag":635,"props":9789,"children":9790},{"style":716},[9791],{"type":611,"value":1365},{"type":606,"tag":635,"props":9793,"children":9794},{"style":647},[9795],{"type":611,"value":7564},{"type":606,"tag":635,"props":9797,"children":9798},{"class":637,"line":6207},[9799,9804,9808,9812,9816,9820,9824,9828,9832,9836,9840],{"type":606,"tag":635,"props":9800,"children":9801},{"style":647},[9802],{"type":611,"value":9803},"    list_b ",{"type":606,"tag":635,"props":9805,"children":9806},{"style":641},[9807],{"type":611,"value":1102},{"type":606,"tag":635,"props":9809,"children":9810},{"style":647},[9811],{"type":611,"value":7735},{"type":606,"tag":635,"props":9813,"children":9814},{"style":716},[9815],{"type":611,"value":1122},{"type":606,"tag":635,"props":9817,"children":9818},{"style":647},[9819],{"type":611,"value":1117},{"type":606,"tag":635,"props":9821,"children":9822},{"style":716},[9823],{"type":611,"value":1365},{"type":606,"tag":635,"props":9825,"children":9826},{"style":647},[9827],{"type":611,"value":1117},{"type":606,"tag":635,"props":9829,"children":9830},{"style":716},[9831],{"type":611,"value":1112},{"type":606,"tag":635,"props":9833,"children":9834},{"style":647},[9835],{"type":611,"value":1117},{"type":606,"tag":635,"props":9837,"children":9838},{"style":716},[9839],{"type":611,"value":7780},{"type":606,"tag":635,"props":9841,"children":9842},{"style":647},[9843],{"type":611,"value":7564},{"type":606,"tag":635,"props":9845,"children":9846},{"class":637,"line":6215},[9847,9852,9856],{"type":606,"tag":635,"props":9848,"children":9849},{"style":647},[9850],{"type":611,"value":9851},"    common ",{"type":606,"tag":635,"props":9853,"children":9854},{"style":641},[9855],{"type":611,"value":1102},{"type":606,"tag":635,"props":9857,"children":9858},{"style":647},[9859],{"type":611,"value":9860}," find_common_items(list_a, list_b)\n",{"type":606,"tag":635,"props":9862,"children":9863},{"class":637,"line":6224},[9864],{"type":606,"tag":635,"props":9865,"children":9866},{"style":647},[9867],{"type":611,"value":1063},{"type":606,"tag":635,"props":9869,"children":9870},{"class":637,"line":6240},[9871,9875,9880,9885,9889,9893,9897,9901,9905],{"type":606,"tag":635,"props":9872,"children":9873},{"style":641},[9874],{"type":611,"value":703},{"type":606,"tag":635,"props":9876,"children":9877},{"style":716},[9878],{"type":611,"value":9879}," sorted",{"type":606,"tag":635,"props":9881,"children":9882},{"style":647},[9883],{"type":611,"value":9884},"(common) ",{"type":606,"tag":635,"props":9886,"children":9887},{"style":641},[9888],{"type":611,"value":2235},{"type":606,"tag":635,"props":9890,"children":9891},{"style":647},[9892],{"type":611,"value":7735},{"type":606,"tag":635,"props":9894,"children":9895},{"style":716},[9896],{"type":611,"value":1122},{"type":606,"tag":635,"props":9898,"children":9899},{"style":647},[9900],{"type":611,"value":1117},{"type":606,"tag":635,"props":9902,"children":9903},{"style":716},[9904],{"type":611,"value":1365},{"type":606,"tag":635,"props":9906,"children":9907},{"style":647},[9908],{"type":611,"value":9909},"]:\n",{"type":606,"tag":635,"props":9911,"children":9912},{"class":637,"line":6260},[9913,9917,9921,9926],{"type":606,"tag":635,"props":9914,"children":9915},{"style":716},[9916],{"type":611,"value":3588},{"type":606,"tag":635,"props":9918,"children":9919},{"style":647},[9920],{"type":611,"value":760},{"type":606,"tag":635,"props":9922,"children":9923},{"style":692},[9924],{"type":611,"value":9925},"\"✓ Common items test passed\"",{"type":606,"tag":635,"props":9927,"children":9928},{"style":647},[9929],{"type":611,"value":770},{"type":606,"tag":635,"props":9931,"children":9932},{"class":637,"line":6268},[9933,9937],{"type":606,"tag":635,"props":9934,"children":9935},{"style":641},[9936],{"type":611,"value":2548},{"type":606,"tag":635,"props":9938,"children":9939},{"style":647},[9940],{"type":611,"value":742},{"type":606,"tag":635,"props":9942,"children":9943},{"class":637,"line":6277},[9944,9948,9952,9957],{"type":606,"tag":635,"props":9945,"children":9946},{"style":716},[9947],{"type":611,"value":3588},{"type":606,"tag":635,"props":9949,"children":9950},{"style":647},[9951],{"type":611,"value":760},{"type":606,"tag":635,"props":9953,"children":9954},{"style":692},[9955],{"type":611,"value":9956},"\"✗ Common items test failed\"",{"type":606,"tag":635,"props":9958,"children":9959},{"style":647},[9960],{"type":611,"value":770},{"type":606,"tag":635,"props":9962,"children":9963},{"class":637,"line":6293},[9964],{"type":606,"tag":635,"props":9965,"children":9966},{"emptyLinePlaceholder":13},[9967],{"type":611,"value":658},{"type":606,"tag":635,"props":9969,"children":9970},{"class":637,"line":6313},[9971],{"type":606,"tag":635,"props":9972,"children":9973},{"style":647},[9974],{"type":611,"value":9975},"run_sample_tests()\n",{"type":606,"tag":1943,"props":9977,"children":9979},{"id":9978},"key-takeaways",[9980],{"type":611,"value":9981},"🎯 Key Takeaways",{"type":606,"tag":1955,"props":9983,"children":9987},{"emoji":9984,"title":9985,"type":9986},"📚","Unit Testing Essentials","success",[9988,9995,10018,10025,10047,10055,10102,10110,10133],{"type":606,"tag":614,"props":9989,"children":9990},{},[9991],{"type":606,"tag":1965,"props":9992,"children":9993},{},[9994],{"type":611,"value":2002},{"type":606,"tag":1971,"props":9996,"children":9997},{},[9998,10003,10008,10013],{"type":606,"tag":1975,"props":9999,"children":10000},{},[10001],{"type":611,"value":10002},"Use descriptive test names that explain what's being tested",{"type":606,"tag":1975,"props":10004,"children":10005},{},[10006],{"type":611,"value":10007},"Follow Arrange-Act-Assert pattern for clarity",{"type":606,"tag":1975,"props":10009,"children":10010},{},[10011],{"type":611,"value":10012},"Keep tests small and focused on one behavior",{"type":606,"tag":1975,"props":10014,"children":10015},{},[10016],{"type":611,"value":10017},"Use setUp() and tearDown() for test preparation",{"type":606,"tag":614,"props":10019,"children":10020},{},[10021],{"type":606,"tag":1965,"props":10022,"children":10023},{},[10024],{"type":611,"value":1969},{"type":606,"tag":1971,"props":10026,"children":10027},{},[10028,10033,10037,10042],{"type":606,"tag":1975,"props":10029,"children":10030},{},[10031],{"type":611,"value":10032},"Normal cases with typical inputs",{"type":606,"tag":1975,"props":10034,"children":10035},{},[10036],{"type":611,"value":1994},{"type":606,"tag":1975,"props":10038,"children":10039},{},[10040],{"type":611,"value":10041},"Error conditions and exception handling",{"type":606,"tag":1975,"props":10043,"children":10044},{},[10045],{"type":611,"value":10046},"Different data types and sizes",{"type":606,"tag":614,"props":10048,"children":10049},{},[10050],{"type":606,"tag":1965,"props":10051,"children":10052},{},[10053],{"type":611,"value":10054},"Assertions:",{"type":606,"tag":1971,"props":10056,"children":10057},{},[10058,10069,10080,10091],{"type":606,"tag":1975,"props":10059,"children":10060},{},[10061,10067],{"type":606,"tag":631,"props":10062,"children":10064},{"className":10063},[],[10065],{"type":611,"value":10066},"assertEqual(a, b)",{"type":611,"value":10068}," - Check if values are equal",{"type":606,"tag":1975,"props":10070,"children":10071},{},[10072,10078],{"type":606,"tag":631,"props":10073,"children":10075},{"className":10074},[],[10076],{"type":611,"value":10077},"assertTrue(x)",{"type":611,"value":10079}," - Check if value is True",{"type":606,"tag":1975,"props":10081,"children":10082},{},[10083,10089],{"type":606,"tag":631,"props":10084,"children":10086},{"className":10085},[],[10087],{"type":611,"value":10088},"assertRaises(Error)",{"type":611,"value":10090}," - Check if error is raised",{"type":606,"tag":1975,"props":10092,"children":10093},{},[10094,10100],{"type":606,"tag":631,"props":10095,"children":10097},{"className":10096},[],[10098],{"type":611,"value":10099},"assertAlmostEqual(a, b)",{"type":611,"value":10101}," - For floating point comparisons",{"type":606,"tag":614,"props":10103,"children":10104},{},[10105],{"type":606,"tag":1965,"props":10106,"children":10107},{},[10108],{"type":611,"value":10109},"Best Practices:",{"type":606,"tag":1971,"props":10111,"children":10112},{},[10113,10118,10123,10128],{"type":606,"tag":1975,"props":10114,"children":10115},{},[10116],{"type":611,"value":10117},"Write tests as you write code",{"type":606,"tag":1975,"props":10119,"children":10120},{},[10121],{"type":611,"value":10122},"Keep tests independent of each other",{"type":606,"tag":1975,"props":10124,"children":10125},{},[10126],{"type":611,"value":10127},"Test the behavior, not the implementation",{"type":606,"tag":1975,"props":10129,"children":10130},{},[10131],{"type":611,"value":10132},"Run tests frequently during development",{"type":606,"tag":614,"props":10134,"children":10135},{},[10136,10141],{"type":606,"tag":1965,"props":10137,"children":10138},{},[10139],{"type":611,"value":10140},"Remember:",{"type":611,"value":10142}," Good tests catch bugs early and make refactoring safe!",{"type":606,"tag":1943,"props":10144,"children":10146},{"id":10145},"whats-next",[10147],{"type":611,"value":10148},"🚀 What's Next?",{"type":606,"tag":614,"props":10150,"children":10151},{},[10152],{"type":611,"value":10153},"Learn how to document your code effectively with clear comments and helpful documentation.",{"type":606,"tag":614,"props":10155,"children":10156},{},[10157,10162,10163],{"type":606,"tag":1965,"props":10158,"children":10159},{},[10160],{"type":611,"value":10161},"Continue to",{"type":611,"value":7232},{"type":606,"tag":10164,"props":10165,"children":10166},"a",{"href":576},[10167],{"type":611,"value":577},{"type":606,"tag":10169,"props":10170,"children":10171},"style",{},[10172],{"type":611,"value":10173},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}html.app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}",{"title":8,"searchDepth":36,"depth":36,"links":10175},[10176,10180,10181,10184,10185],{"id":1945,"depth":27,"text":1948,"children":10177},[10178,10179],{"id":2101,"depth":36,"text":2104},{"id":4070,"depth":36,"text":4073},{"id":6944,"depth":27,"text":6947},{"id":7121,"depth":27,"text":7124,"children":10182},[10183],{"id":7127,"depth":36,"text":7130},{"id":9978,"depth":27,"text":9981},{"id":10145,"depth":27,"text":10148},1782373764822]