Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages