Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Julia (0 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (1 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The drama list should be implemented as a list of <: AbstractDrama objects, not a list of functions.

Then we have two methods that should be implemented for all AbstractDrama subtypes:

struct MyDramaType <: AbstractDrama
  ...
end

check_drama(source::MyDramaType, context::DramaContext) = # not sure what it should return

should_check_drama(source::MyDramaType, context::DramaContext) = true / false # depending on whether the check_drama function should run. This can be used to skip tests

Guida contributor