Check if weekdays are uniformly generated #10

Closed
opened 2021-03-02 10:08:11 +01:00 by FWDekker · 1 comment
Owner

Statistically, each weekday should occur equally often with the default settings. I should check whether this is indeed the case. I should consider writing a test of sorts that tries to verify that this is the case with a particular margin, and design it such that it has a chance of failure below 1% or some similar boundary.

In fact, might want to start revamping the code (Typescript?) and writing tests anyway.

Statistically, each weekday should occur equally often with the default settings. I should check whether this is indeed the case. I should consider writing a test of sorts that tries to verify that this is the case with a particular margin, and design it such that it has a chance of failure below 1% or some similar boundary. In fact, might want to start revamping the code (Typescript?) and writing tests anyway.
FWDekker added the
code-quality
label 2021-03-02 10:08:13 +01:00
FWDekker self-assigned this 2021-03-02 10:08:13 +01:00
Author
Owner

I don't see why this would be necessary given how straightforward the code that generates dates is.

I don't see why this would be necessary given how straightforward the code that generates dates is.
Sign in to join this conversation.
No description provided.