Skip to content

Hugo-code-dev/Test-Reqsys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test-Reqsys

Template for test repository for Reqsys project

Python Modules

This repository contains basic Python modules with comprehensive unit tests:

Modules

  1. calculator.py - Simple calculator with arithmetic operations

    • add(a, b) - Add two numbers
    • subtract(a, b) - Subtract b from a
    • multiply(a, b) - Multiply two numbers
    • divide(a, b) - Divide a by b (with zero division error handling)
    • power(a, b) - Raise a to the power of b
  2. string_utils.py - String utility functions

    • reverse(text) - Reverse a string
    • capitalize_words(text) - Capitalize first letter of each word
    • is_palindrome(text) - Check if string is a palindrome
    • count_vowels(text) - Count vowels in a string
    • truncate(text, length, suffix) - Truncate string with optional suffix

About

Test repository for Reqsys project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages