Skip to content

Encorpluptit/204ducks_2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build codecov

204ducks_2019

Project made with Python and redone in Golang.

Mathematical Equations are not totally functional.

(made with Killian Clette)

A study is being conducted about these ducks, and you are asked to compute and display the following, given the value of a:

  • The average time after which ducks come back.
  • The standard deviation of the ducks’ return time.
  • The time after which 50% of all of the ducks are back.
  • The time after which 99% of all of the ducks are back.
  • The percentage of ducks that come back after 1 minute.
  • The percentage of ducks that come back after 2 minutes.

Usage :

Build:

make prez

Python Script:

./204ducks a

Go binary:

./204Go a

Help :

./204ducks -h

Project used to improve or learn :

  • Python 3
  • GoLang
  • Github Action
  • Pytest framework
  • Functional tests with Jenrik
  • Goland integrated tests