Skip to content

M_CodeJam_PerfTests_Running_Limits_CompetitionLimit_ShouldBeUpdatedMax

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionLimit.ShouldBeUpdatedMax Method

Helper method for checking before extending the max limit. IMPORTANT: DO NOT replace with call to IsMaxLimitOk(Double, Double). Implementation may change in the future.

Namespace: CodeJam.PerfTests.Running.Limits
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

protected static bool ShouldBeUpdatedMax(
	double maxLimit,
	double newMaxLimit
)

VB

Protected Shared Function ShouldBeUpdatedMax ( 
	maxLimit As Double,
	newMaxLimit As Double
) As Boolean

F#

static member ShouldBeUpdatedMax : 
        maxLimit : float * 
        newMaxLimit : float -> bool 

Parameters

 

maxLimit
Type: System.Double
The maximum limit.
newMaxLimit
Type: System.Double
The new maximum limit.

Return Value

Type: Boolean
true if the current limit should be replaced with new one.

See Also

Reference

CompetitionLimit Class
CodeJam.PerfTests.Running.Limits Namespace

Clone this wiki locally