From f6bf3dc8962c852ed6d0140f0c73f9f62a4da542 Mon Sep 17 00:00:00 2001 From: Melat-arch Date: Sat, 11 Jan 2025 19:23:42 -0600 Subject: [PATCH] Some updates on codes --- solutions/decimal_to_binary.py | 2 +- solutions/tests/test_decimal_to_binary.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/decimal_to_binary.py b/solutions/decimal_to_binary.py index 5bebcc74b..48bad9bcb 100644 --- a/solutions/decimal_to_binary.py +++ b/solutions/decimal_to_binary.py @@ -4,7 +4,7 @@ This module provides a function to convert a non-negative integer to its binary representation. Function: - - convert_decimal_to_binary: Returns the binary representation of a given non-negative integer. + - convert_decimal_to_binary: Return the binary representation of a given non-negative integer. Author: Melat Assefa Date: January 6, 2025 """ diff --git a/solutions/tests/test_decimal_to_binary.py b/solutions/tests/test_decimal_to_binary.py index ca13f712f..0b8fafdc0 100644 --- a/solutions/tests/test_decimal_to_binary.py +++ b/solutions/tests/test_decimal_to_binary.py @@ -6,7 +6,7 @@ This test suite includes: - Regular cases: Typical inputs that the function is expected to handle. - Edge cases: Inputs that are at the boundary of what the function should handle. -- Error cases: Inputs that should raise exceptions due to invalid input. +- Error cases: Input that should raise exceptions due to invalid input. @author: Melat Assefa Date: January 6, 2025 """