public void InitializeValuesTest()
 {
     BranchResistanceDataManager target = new BranchResistanceDataManager(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.InitializeValues();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Ejemplo n.º 2
0
        private void InitializeCurrentValues()
        {
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Init all current values...");

            NodeActiveLoadDataManager nodeActiveLoadDataManager = new NodeActiveLoadDataManager();
            AppendMessageToActionInformation (nodeActiveLoadDataManager.InitializeValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current node active loads are initialized.");

            NodeReactiveLoadDataManager nodeReactiveLoadDataManager = new NodeReactiveLoadDataManager();
            AppendMessageToActionInformation(nodeReactiveLoadDataManager.InitializeValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current node reactive loads are initialized.");

            BranchResistanceDataManager branchResistanceDataManager = new BranchResistanceDataManager();
            AppendMessageToActionInformation(branchResistanceDataManager.InitializeValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current branch resistances are initialized.");

            BranchReactanceDataManager branchReactanceDataManager = new BranchReactanceDataManager();
            AppendMessageToActionInformation(branchReactanceDataManager.InitializeValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current branch reactances are initialized.");
            AppendMessageToActionInformation("\r\nAll current values initialized.");
        }