예제 #1
0
        public void testIf_StringInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testIfNumberInput.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            Watch watch1 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("1e99e389-04ba-4a9f-9ef4-d188058f734f");
            Watch watch2 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("ae08cfd2-3fb3-41e0-94f4-a70ead3e7466");
            Watch watch3 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("75da9972-b458-45d7-8673-42e7c74e42b6");
            Watch watch4 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("1faadb07-62e9-42f1-9c01-18b6673e53cf");
            Watch watch5 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("a1cb3c11-4939-40fb-ac7b-ad80c9e3c576");
            Watch watch6 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("6a3cc1a4-a353-4870-8c1c-848298ebe050");

            double actualResult1 = watch1.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult2 = watch2.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult3 = watch3.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult4 = watch4.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult5 = watch5.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult6 = watch6.GetValue(0).GetDoubleFromFSchemeValue();

            double expectedResult1 = 1;
            double expectedResult2 = 0;
            double expectedResult3 = 0;
            double expectedResult4 = 0;
            double expectedResult5 = 1;
            double expectedResult6 = 3;

            Assert.AreEqual(expectedResult1, actualResult1);
            Assert.AreEqual(expectedResult2, actualResult2);
            Assert.AreEqual(expectedResult3, actualResult3);
            Assert.AreEqual(expectedResult4, actualResult4);
            Assert.AreEqual(expectedResult5, actualResult5);
            Assert.AreEqual(expectedResult6, actualResult6);
        }
예제 #2
0
        public void TestStringToNumberNormalInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringToNumber_normal.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch1 = getWatchNodeFromCurrentSpace(model, "ca09bc3a-35c3-488f-a013-c05a5b7733c5");
            var watch2 = getWatchNodeFromCurrentSpace(model, "251210e5-2e04-4e81-b11d-39a8aff10887");
            var watch3 = getWatchNodeFromCurrentSpace(model, "898ee89d-a934-4b43-a051-da3459be329a");
            var watch4 = getWatchNodeFromCurrentSpace(model, "0afc0a8f-3d8a-4d7c-a2ec-d868cbb29b5f");

            double actual1 = getDoubleFromFSchemeValue(watch1.GetValue(0));
            double actual2 = getDoubleFromFSchemeValue(watch2.GetValue(0));
            double actual3 = getDoubleFromFSchemeValue(watch3.GetValue(0));
            double actual4 = getDoubleFromFSchemeValue(watch4.GetValue(0));

            double expected1 = 12;
            double expected2 = 12.3;
            double expected3 = 1000;
            double expected4 = 123456789;

            Assert.AreEqual(expected1, actual1);
            Assert.AreEqual(expected2, actual2);
            Assert.AreEqual(expected3, actual3);
            Assert.AreEqual(expected4, actual4);
        }
예제 #3
0
        public void testIf_StringInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testIfNumberInput.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            Conditional watch1 = model.CurrentWorkspace.NodeFromWorkspace <Conditional>("a00a70d6-6806-46d3-9bbc-52e30108499b");
            Conditional watch2 = model.CurrentWorkspace.NodeFromWorkspace <Conditional>("f1c1e1bb-c112-41ad-b38e-67e2512d2c97");
            Conditional watch3 = model.CurrentWorkspace.NodeFromWorkspace <Conditional>("66361adf-57db-4bcf-9bec-3e7c07bf025b");
            Conditional watch4 = model.CurrentWorkspace.NodeFromWorkspace <Conditional>("8f4b6aa0-5c1d-4dd3-90cb-bd66e4d921ac");
            Conditional watch5 = model.CurrentWorkspace.NodeFromWorkspace <Conditional>("38f7e43f-9361-45de-9ef1-cd51af9afe6c");
            Conditional watch6 = model.CurrentWorkspace.NodeFromWorkspace <Conditional>("b6f5ae7a-cb3b-4eed-88a5-259ea2a12302");

            double actualResult1 = watch1.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult2 = watch2.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult3 = watch3.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult4 = watch4.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult5 = watch5.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult6 = watch6.GetValue(0).GetDoubleFromFSchemeValue();

            double expectedResult1 = 1;
            double expectedResult2 = 0;
            double expectedResult3 = 0;
            double expectedResult4 = 0;
            double expectedResult5 = 1;
            double expectedResult6 = 3;

            Assert.AreEqual(expectedResult1, actualResult1);
            Assert.AreEqual(expectedResult2, actualResult2);
            Assert.AreEqual(expectedResult3, actualResult3);
            Assert.AreEqual(expectedResult4, actualResult4);
            Assert.AreEqual(expectedResult5, actualResult5);
            Assert.AreEqual(expectedResult6, actualResult6);
        }
예제 #4
0
        public void TestNumberToStringNormalInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestNumberToString_normal.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);

            var watch1 = getWatchNodeFromCurrentSpace(model, "f8767579-f7c1-475f-980e-7cd6a42684c8");
            var watch2 = getWatchNodeFromCurrentSpace(model, "5a974eeb-6bca-4029-9948-c6af1c9fe913");
            var watch3 = getWatchNodeFromCurrentSpace(model, "ce2c9ef8-8fac-427a-b550-ecec8f66aacf");
            var watch4 = getWatchNodeFromCurrentSpace(model, "bd14730f-fddc-4301-9d63-7b1e77eeb72a");

            String actual1 = string.Empty;
            String actual2 = string.Empty;
            String actual3 = string.Empty;
            String actual4 = string.Empty;

            String expected1 = "123456789";
            String expected2 = "-123456789";
            String expected3 = "3.456";
            String expected4 = "-3.456";

            FSchemeInterop.Utils.Convert(watch1.GetValue(0), ref actual1);
            FSchemeInterop.Utils.Convert(watch2.GetValue(0), ref actual2);
            FSchemeInterop.Utils.Convert(watch3.GetValue(0), ref actual3);
            FSchemeInterop.Utils.Convert(watch4.GetValue(0), ref actual4);

            Assert.AreEqual(expected1, actual1);
            Assert.AreEqual(expected2, actual2);
            Assert.AreEqual(expected3, actual3);
            Assert.AreEqual(expected4, actual4);
        }
예제 #5
0
        public void CanOpenADynFileFromAfter6_0()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "fileTests_post6_0.dyn");

            model.Open(testFilePath);
            Assert.DoesNotThrow(() => dynSettings.Controller.RunExpression(null));
        }
예제 #6
0
        public void Defect_MAGN_781()
        {
            // Details steps are here: http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-781

            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "Defect_MAGN_781.dyf");

            model.Open(testFilePath);
            Assert.DoesNotThrow(() => dynSettings.Controller.RunExpression(null));
        }
예제 #7
0
        public void testEqual_InvalidInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testEqualInvalidInput.dyn");

            model.Open(testFilePath);
            Assert.Throws <AssertionException>(() =>
            {
                dynSettings.Controller.RunExpression(null);
            });
        }
예제 #8
0
        public void TestStringCaseInvalidInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringCase_invalidInput.dyn");

            model.Open(testFilePath);
            Assert.Throws <AssertionException>(() =>
            {
                dynSettings.Controller.RunExpression(null);
            });
        }
예제 #9
0
        public void testEqual_InvalidInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testEqualInvalidInput.dyn");

            model.Open(testFilePath);

            dynSettings.Controller.RunExpression();

            Assert.AreEqual(0, model.CurrentWorkspace.FirstNodeFromWorkspace <Equal>().OldValue.GetDoubleFromFSchemeValue());
        }
예제 #10
0
        public void TestStringToNumberEmptyInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringToNumber_empltyString.dyn");

            model.Open(testFilePath);
            Assert.Throws <AssertionException>(() =>
            {
                dynSettings.Controller.RunExpression(null);
            });
        }
예제 #11
0
        public void Defect_MAGN_1206()
        {
            //Detail steps are here http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-1206
            DynamoModel model    = Controller.DynamoModel;
            string      openPath = Path.Combine(GetTestDirectory(), @"core\DynamoDefects\Defect_MAGN_1206.dyn");

            model.Open(openPath);

            dynSettings.Controller.RunExpression(null);
            var add = model.CurrentWorkspace.NodeFromWorkspace <Dynamo.Nodes.DSFunction>("ccb2eda9-0966-4ab8-a186-0d5f844559c1");

            Assert.AreEqual(20, add.CachedValue.Data);
        }
예제 #12
0
        public void TestStringToNumberFunctionInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringToNumber_fromFunction.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "f8767579-f7c1-475f-980e-7cd6a42684c8");

            double actual   = getDoubleFromFSchemeValue(watch.GetValue(0));
            double expected = 12;

            Assert.AreEqual(expected, actual);
        }
예제 #13
0
        public void TestStringLengthNormalInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringLength_normal.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "f72f6210-b32f-4dc4-9b2a-61f0144a0109");

            double actual   = getDoubleFromFSchemeValue(watch.GetValue(0));
            double expected = 15;

            Assert.AreEqual(expected, actual);
        }
예제 #14
0
        public void TestStringLengthFunctionInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringLength_fromFunction.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = model.CurrentWorkspace.NodeFromWorkspace <Watch>("f72f6210-b32f-4dc4-9b2a-61f0144a0109");

            double actual   = watch.GetValue(0).GetDoubleFromFSchemeValue();
            double expected = 3;

            Assert.AreEqual(expected, actual);
        }
예제 #15
0
        public void TestStringToNumberFileInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestStringToNumber_fromFile.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = model.CurrentWorkspace.NodeFromWorkspace <Watch>("f8767579-f7c1-475f-980e-7cd6a42684c8");

            double actual   = watch.GetValue(0).GetDoubleFromFSchemeValue();
            double expected = 123521;

            Assert.AreEqual(expected, actual);
        }
예제 #16
0
        public void TestConcatStringFunctionInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestConcatString_fromFunction.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "8c7c1a80-021b-4064-b9d1-873a0538bb0b");

            String actual   = string.Empty;
            String expected = "yesterday today.tomorrow";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #17
0
        public void TestConcatStringFileInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestConcatString_fromFile.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "8c7c1a80-021b-4064-b9d1-873a0538bb0b");

            String actual   = string.Empty;
            String expected = "Don't feel like picking up my phone, so leave a message at the tone Don't feel like picking up my phone, so leave a message at the tone ";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #18
0
        public void TestConcatStringEmptyInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestConcatString_emptyString.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "cc16be22-af85-4626-b759-4a82e10bf1b0");

            String actual   = string.Empty;
            String expected = "";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #19
0
        public void TestToStringFileInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestToString_fromFile.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = model.CurrentWorkspace.NodeFromWorkspace <Watch>("f72f6210-b32f-4dc4-9b2a-61f0144a0109");

            String actual   = string.Empty;
            String expected = "can you read this\n";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #20
0
        public void T01_Defect_MAGN_110()
        {
            DynamoModel model    = Controller.DynamoModel;
            string      openPath = Path.Combine(GetTestDirectory(), @"core\DynamoDefects\Defect_MAGN_110.dyn");

            model.Open(openPath);

            dynSettings.Controller.RunExpression(null);
            var watch = model.CurrentWorkspace.NodeFromWorkspace <Watch>("339dd778-8d2c-4ae2-9fdc-26c1572f8eb6");
            FSharpList <FScheme.Value> actual = watch.GetValue(0).GetListFromFSchemeValue();

            Assert.AreEqual(6, actual.Length);

            Assert.AreEqual(1, actual[2].GetDoubleFromFSchemeValue());
        }
예제 #21
0
        public void TestNumberToStringFunctionInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestNumberToString_fromFunction.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "f8767579-f7c1-475f-980e-7cd6a42684c8");

            String actual   = string.Empty;
            String expected = "25";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #22
0
        public void TestConcatStringNormalInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestConcatString_normal.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = model.CurrentWorkspace.NodeFromWorkspace <Watch>("8c7c1a80-021b-4064-b9d1-873a0538bb0b");

            String actual   = string.Empty;
            String expected = "123abc	    !@#    ";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #23
0
        public void TestToStringNormalInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestToString_normal.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "f72f6210-b32f-4dc4-9b2a-61f0144a0109");

            String actual   = string.Empty;
            String expected = "123456\n";

            FSchemeInterop.Utils.Convert(watch.GetValue(0), ref actual);
            Assert.AreEqual(expected, actual);
        }
예제 #24
0
        public void TestSplitStringNormalInput()
        {
            DynamoModel model        = controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestSplitString_normal.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = getWatchNodeFromCurrentSpace(model, "f72f6210-b32f-4dc4-9b2a-61f0144a0109");

            String expected1 = "today";
            String expected2 = "yesterday";

            FSharpList <FScheme.Value> splitedStrings = getListFromFSchemeValue(watch.GetValue(0));

            Assert.AreEqual(expected1, getStringFromFSchemeValue(splitedStrings[0]));
            Assert.AreEqual(expected2, getStringFromFSchemeValue(splitedStrings[1]));
        }
예제 #25
0
        public void Defect_MAGN_942_Equal()
        {
            DynamoModel model    = Controller.DynamoModel;
            string      openPath = Path.Combine(GetTestDirectory(), @"core\DynamoDefects\Defect_MAGN_942_Equal.dyn");

            model.Open(openPath);

            dynSettings.Controller.RunExpression(null);
            var equal = model.CurrentWorkspace.NodeFromWorkspace <Map>("3806c656-56bd-4878-9082-b2d27644abd1");
            FSharpList <FScheme.Value> actual = equal.GetValue(0).GetListFromFSchemeValue();

            Assert.AreEqual(11, actual.Length);

            Assert.AreEqual(0, actual[0].GetDoubleFromFSchemeValue());
            Assert.AreEqual(1, actual[5].GetDoubleFromFSchemeValue());
            Assert.AreEqual(0, actual[10].GetDoubleFromFSchemeValue());
        }
예제 #26
0
        public void TestSplitStringFunctionInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(localDynamoStringTestFloder, "TestSplitString_fromFunction.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            var watch = model.CurrentWorkspace.NodeFromWorkspace <Watch>("f72f6210-b32f-4dc4-9b2a-61f0144a0109");

            String expected1 = "1";
            String expected2 = "2";

            FSharpList <FScheme.Value> splitedStrings = watch.GetValue(0).GetListFromFSchemeValue();

            Assert.AreEqual(expected1, splitedStrings[0].GetStringFromFSchemeValue());
            Assert.AreEqual(expected2, splitedStrings[1].GetStringFromFSchemeValue());
        }
예제 #27
0
        public void testLessThan_NumberInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testLessThanNumberInput.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            Watch watch1 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("fee9b04f-420f-4e2e-8dc1-20b7732d038c");
            Watch watch2 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("9093b858-7e36-4cc9-b665-3297bbabd280");

            double actualResult1   = watch1.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult2   = watch2.GetValue(0).GetDoubleFromFSchemeValue();
            double expectedResult1 = 1;
            double expectedResult2 = 0;

            Assert.AreEqual(expectedResult1, actualResult1);
            Assert.AreEqual(expectedResult2, actualResult2);
        }
예제 #28
0
        public void testNot_NumberInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testNotNumberInput.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            Watch watch1 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("893a8746-b74f-4078-a125-8b96a48ec782");
            Watch watch2 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("6fa95218-d960-4069-ab38-0fec7c815e06");

            double actualResult1   = watch1.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult2   = watch2.GetValue(0).GetDoubleFromFSchemeValue();
            double expectedResult1 = 0;
            double expectedResult2 = 1;

            Assert.AreEqual(expectedResult1, actualResult1);
            Assert.AreEqual(expectedResult2, actualResult2);
        }
예제 #29
0
        public void testLessThan_StringInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testLessThanStringInput.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            Watch watch1 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("b300d0f8-dee2-4eb8-ac13-e77e337ebbf2");
            Watch watch2 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("f4e793a3-f01f-42d8-b084-884e4155dbd8");

            double actualResult1   = watch1.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult2   = watch2.GetValue(0).GetDoubleFromFSchemeValue();
            double expectedResult1 = 1;
            double expectedResult2 = 0;

            Assert.AreEqual(expectedResult1, actualResult1);
            Assert.AreEqual(expectedResult2, actualResult2);
        }
예제 #30
0
        public void testEqual_NumberInput()
        {
            DynamoModel model        = Controller.DynamoModel;
            string      testFilePath = Path.Combine(logicTestFolder, "testEqualNumberInput.dyn");

            model.Open(testFilePath);
            dynSettings.Controller.RunExpression(null);
            Watch watch1 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("75e739ed-082f-4eaa-8fd4-d0b88f44eaf4");
            Watch watch2 = model.CurrentWorkspace.NodeFromWorkspace <Watch>("40e72290-42ce-457b-9153-23f4d63b7a9b");

            double actualResult1   = watch1.GetValue(0).GetDoubleFromFSchemeValue();
            double actualResult2   = watch2.GetValue(0).GetDoubleFromFSchemeValue();
            double expectedResult1 = 1;
            double expectedResult2 = 0;

            Assert.AreEqual(expectedResult1, actualResult1);
            Assert.AreEqual(expectedResult2, actualResult2);
        }