Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 930 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 930 Bytes

leetcode-py-cheatsheet

Python Tests

Quick reference for common LeetCode Python techniques and patterns.

Running Tests

This project uses Python's standard library unittest for testing and uv as the Python package installer and development server.

Run all tests

uv run python -m unittest discover test

Run all tests with verbose output

uv run python -m unittest discover test -v

Run a specific test file

uv run python -m unittest test/test_anagram.py

Run a specific test class

uv run python -m unittest test.test_anagram.TestAnagramMethods

Run a specific test method

uv run python -m unittest test.test_anagram.TestAnagramMethods.test_are_anagrams_sorting