Skip to content

alexanderscheibler/code_samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Code samples

Code samples from long time ago, B.A. (Before AI), moved here for historical purposes.

Python


Testing with Unittest

  • Given a range of dates, query the price of stocks on opening and closing for a specific weekday.
  • Code originally written in 2019. Minimally (insecurely) adjusted to run without SSL.
  • Test cases added in 2019.
  • Given a list of dates, provide the cheapest option according to the client type.
  • Objected-oriented programming.
  • Code originally written in 2019.
  • Test cases added in 2019.

Testing with Pytest

  • Given a sample array of dates, convert it to ISO format.
  • Code originally written in 2019.
  • Test cases added in 2024.
  • There were defects indeed. 🙃

Others

Process CSV file to find the best players, the most expensive ones and what are their nationalities.

  • Code originally written in 2019.
  • Tests as provided.

About

Code samples from long long time ago, B.A. (Before AI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages