public void Electromagnetism_BackgroundworkerCanFillAllComboBoxes() { ElectromagnetismPanel panel = new ElectromagnetismPanel(); panel.Initialize(BackgroundService); AssertAllComboBoxesHaveItems(panel.Controls); }
public void ManipulateElectromagnetismPanelControls() { ElectromagnetismPanel = new ElectromagnetismPanel(); ElectromagnetismPanel.Initialize(BackgroundService); ElectromagnetismPanel.ControlsValues = ParameterSamples.ElectromagnetismSamples; AssertHelper.AssertAllElementsEqual( ParameterSamples.ElectromagnetismSamples, ElectromagnetismPanel.ControlsValues); }