コード例 #1
0
        public void Electromagnetism_BackgroundworkerCanFillAllComboBoxes()
        {
            ElectromagnetismPanel panel = new ElectromagnetismPanel();

            panel.Initialize(BackgroundService);

            AssertAllComboBoxesHaveItems(panel.Controls);
        }
コード例 #2
0
        public void ManipulateElectromagnetismPanelControls()
        {
            ElectromagnetismPanel = new ElectromagnetismPanel();
            ElectromagnetismPanel.Initialize(BackgroundService);
            ElectromagnetismPanel.ControlsValues = ParameterSamples.ElectromagnetismSamples;

            AssertHelper.AssertAllElementsEqual(
                ParameterSamples.ElectromagnetismSamples, ElectromagnetismPanel.ControlsValues);
        }