MCPcopy Create free account
hub / github.com/devosoft/avida / GetTestMode

Method GetTestMode

avida-core/source/main/cAvidaContext.h:62–62  ·  view source on GitHub ↗

when we're running a genotype through a test-cpu

Source from the content-addressed store, hash-verified

60 void SetTestMode() { m_testing = true; } //@MRR Some modifications I've made need to distinguish
61 void ClearTestMode() { m_testing = false; } // when we're running a genotype through a test-cpu
62 bool GetTestMode() { return m_testing; } // versus when we're not when dealing with reactions rewards.
63
64 void EnableOrgFaultReporting() { m_org_faults = true; }
65 void DisableOrgFaultReporting() { m_org_faults = false; }

Callers 1

GetTaskProbabilityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected