title: How to assign values to an array of struct at run-time?
body: <p>I declared an array of struct and initialized it at compile time.</p>
  
  <p>Now, for unit testing purposes, I would like to initialize it from a function which I can call from main() and from my unit tests.</p>
  
  <p>For some reason, probably involving a 16 hour coding marathons &amp; exhaustion, I can't figure it out.</p>