SystemProfilerTests VerifyDefaultProperties Method Delta Engine Documentation

Namespace: DeltaEngine.Profiling.Tests
Assembly: DeltaEngine.Profiling.Tests (in DeltaEngine.Profiling.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void VerifyDefaultProperties()
Examples

[Test, CloseAfterFirstFrame]
public void VerifyDefaultProperties()
{
    Assert.IsFalse(SystemProfiler.Current.IsActive);
    Assert.AreEqual(10, SystemProfiler.Current.MaximumPollsPerSecond);
    Assert.IsTrue(new SystemProfiler().IsActive);
    Assert.AreEqual(10, new SystemProfiler().MaximumPollsPerSecond);
}
See Also