<filename>tests/test_010.py
"""https://projecteuler.net/problem=10"""

from euler.main import is_prime


def test_010() -> None:
    """Expected: 142913828922"""
    assert sum(x for x in range(2, 2_000_000) if is_prime(x)) == 142913828922

<filename>tests/test_010.py
"""https://projecteuler.net/problem=10"""

from euler.main import is_prime


def test_010() -> None:
    """Expected: 142913828922"""
    assert sum(x for x in range(2, 2_000_000) if is_prime(x)) == 142913828922

https://projecteuler.net/problem=10 Expected: 142913828922