public void Cam4SetupSectorSets() { ConfigServiceMock.Object.Cam4SetupSector = "20/1"; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.Cam4SetupSector.Should().Be("20/1"); }
public void Cam1SurfaceCenterSliderValueSets() { ConfigServiceMock.Object.Cam1SurfaceCenterSliderValue = 1555.55; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.Cam1SurfaceCenterSliderValue.Should().Be(1555.55); }
public void ToCam4DistanceSets() { ConfigServiceMock.Object.ToCam4Distance = 35.5; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.ToCam4Distance.Should().Be(35.5); }
public void Cam4YSetupValueSets() { ConfigServiceMock.Object.Cam4YSetupValue = 579; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.Cam4YSetupValue.Should().Be(579); }
public void Cam4ThresholdSliderValueSets() { ConfigServiceMock.Object.Cam4ThresholdSliderValue = 1555.55; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.Cam4ThresholdSliderValue.Should().Be(1555.55); }
public void MaxContourWidthValueSets() { ConfigServiceMock.Object.MaxContourWidthValue = 100; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.MaxContourWidthValue.Should().Be(100); }
public void ThresholdSleepTimeValueSets() { ConfigServiceMock.Object.ThresholdSleepTimeValue = 5.5; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.ThresholdSleepTimeValue.Should().Be(5.5); }
public void ExtractionSleepTimeValueSets() { ConfigServiceMock.Object.ExtractionSleepTimeValue = 8.5; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.ExtractionSleepTimeValue.Should().Be(8.5); }
public void MovesDetectedSleepTimeValueSets() { ConfigServiceMock.Object.MovesDetectedSleepTimeValue = 0.25; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.MovesDetectedSleepTimeValue.Should().Be(0.25); }
public void SmoothGaussValueSets() { ConfigServiceMock.Object.SmoothGaussValue = 5; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.SmoothGaussValue.Should().Be(5); }
public void CamsResolutionHeightSets() { ConfigServiceMock.Object.CamsResolutionHeight = 1028; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.CamsResolutionHeight.Should().Be(1028); }
public void CamsResolutionWidthSets() { ConfigServiceMock.Object.CamsResolutionWidth = 1920; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.CamsResolutionWidth.Should().Be(1920); }
public void CamsFovAngleSets() { ConfigServiceMock.Object.CamsFovAngle = 75.5; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.CamsFovAngle.Should().Be(75.5); }
public void Cam4IdSets() { ConfigServiceMock.Object.Cam4Id = "34rre5"; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.Cam4Id.Should().Be("34rre5"); }
public void DetectionEnabledSets() { ConfigServiceMock.Object.DetectionEnabled = true; SettingsTabViewModel.LoadSettings(); SettingsTabViewModel.DetectionEnabled.Should().BeTrue(); }