Skip to content

M_CodeJam_PerfTests_Running_Limits_CompetitionLimit_ShouldBeUpdatedMin

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionLimit.ShouldBeUpdatedMin Method

Helper method for checking before extending the min limit. IMPORTANT: DO NOT replace with call to IsMinLimitOk(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 ShouldBeUpdatedMin(
	double minLimit,
	double newMinLimit
)

VB

Protected Shared Function ShouldBeUpdatedMin ( 
	minLimit As Double,
	newMinLimit As Double
) As Boolean

F#

static member ShouldBeUpdatedMin : 
        minLimit : float * 
        newMinLimit : float -> bool 

Parameters

 

minLimit
Type: System.Double
The minimum limit.
newMinLimit
Type: System.Double
The new minimum 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