{ "Type": "JsonSerialization", "Version": 1, "ClassName": "ScriptCanvasData", "ClassData": { "m_scriptCanvas": { "Id": { "id": 552568057201831 }, "Name": "scriptcanvas/tests/expression/mathexpression/test_mathexpression_basic.scriptcanvas", "Components": { "Component_[11679807218793609313]": { "$type": "EditorGraph", "Id": 11679807218793609313, "m_graphData": { "m_nodes": [ { "Id": { "id": 552572352169127 }, "Name": "SC-Node(Start)", "Components": { "Component_[10514519543567047121]": { "$type": "Start", "Id": 10514519543567047121, "Slots": [ { "id": { "m_id": "{06DB5CAE-0D47-431B-9D39-9BDA9841E869}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "toolTip": "Signaled when the entity that owns this graph is fully activated.", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ] } } }, { "Id": { "id": 552576647136423 }, "Name": "SC-Node(MathExpression)", "Components": { "Component_[13220496797687555717]": { "$type": "MathExpression", "Id": 13220496797687555717, "Slots": [ { "id": { "m_id": "{629F6545-7642-4575-80FA-726C40F91854}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "toolTip": "Input signal", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{01A54EFA-06FD-4B26-963D-91FE011AF824}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "toolTip": "Output signal", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } }, { "id": { "m_id": "{F867A4A7-9DB6-45BB-B426-5F6CC45B3394}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "m", "toolTip": "Value which replaces instances of {m} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{05D7F631-8B92-49D7-B635-DADADB085018}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "x", "toolTip": "Value which replaces instances of {x} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{5A91ECDF-0CF1-4205-9285-1E6374D4288C}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "b", "toolTip": "Value which replaces instances of {b} in the resulting expression.", "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{E5F7DD30-2286-4DE3-9F5D-198BC5DC515D}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Result", "toolTip": "The resulting string.", "DisplayDataType": { "m_type": 3 }, "DisplayGroup": { "Value": 1997398926 }, "Descriptor": { "ConnectionType": 2, "SlotType": 2 }, "DataType": 1 } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 2.0, "label": "m" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 1.0, "label": "x" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 5.0, "label": "b" } ], "m_format": "{m}*{x}+{b}", "m_expressionTree": { "Variables": [ { "Key": { "Value": 1908338681 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 5.0 } }, { "Key": { "Value": 2363233923 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 1.0 } }, { "Key": { "Value": 3775001192 }, "Value": { "SupportedTypes": [ "{110C4B14-11A8-4E9D-8638-5051013A56AC}", "{110C4B14-11A8-4E9D-8638-5051013A56AC}" ], "$type": "double", "Value": 2.0 } } ], "VariableDisplayOrder": [ "m", "x", "b" ], "Tokens": [ { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "m", "NameHash": { "Value": 3775001192 } } } }, { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "x", "NameHash": { "Value": 2363233923 } } } }, { "ParserId": 3499457960, "TokenInformation": { "Id": 2, "$type": "Empty AZStd::any" } }, { "TokenInformation": { "Id": 1, "$type": "{6D219DB1-3763-4408-A3E8-75E4AE66E9BD} VariableDescriptor", "Value": { "DisplayName": "b", "NameHash": { "Value": 1908338681 } } } }, { "ParserId": 3499457960, "TokenInformation": { "Id": 0, "$type": "Empty AZStd::any" } } ] } } } }, { "Id": { "id": 552580942103719 }, "Name": "SC-Node(MarkComplete)", "Components": { "Component_[4098170473423580873]": { "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method", "Id": 4098170473423580873, "Slots": [ { "isVisibile": false, "id": { "m_id": "{B7ACF43B-5908-4714-AAED-266009855D14}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "EntityID: 0", "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{C86A1126-020B-4621-90EB-6D89C61345EE}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Report", "toolTip": "additional notes for the test report", "DisplayDataType": { "m_type": 5 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{ADA5CB9F-9B60-4DE9-88BD-45F2005E6F58}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{7EFAE454-C6F1-483B-A417-F067C7ADF4DD}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 1 }, "isNullPointer": false, "$type": "EntityId", "value": { "id": 4276206253 } }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 5 }, "isNullPointer": false, "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", "value": "", "label": "Report" } ], "methodType": 2, "methodName": "Mark Complete", "className": "Unit Testing", "resultSlotIDs": [ {} ], "prettyClassName": "Unit Testing" } } }, { "Id": { "id": 552585237071015 }, "Name": "SC-Node(ExpectEqual)", "Components": { "Component_[4545348452715276705]": { "$type": "MethodOverloaded", "Id": 4545348452715276705, "Slots": [ { "isVisibile": false, "id": { "m_id": "{3DE66711-A6CE-4FE4-BC03-B801AE7D731C}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "EntityID: 0", "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{DE7A2119-62E0-4855-B483-09E6BA85FD88}" }, "DynamicTypeOverride": 1, "contracts": [ { "$type": "SlotTypeContract" }, null, { "$type": "OverloadContract" } ], "slotName": "Candidate", "toolTip": "left of ==", "DisplayDataType": { "m_type": 3 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{5293ADA8-28E0-4DAC-9F37-22DB22D73FB5}" }, "DynamicTypeOverride": 1, "contracts": [ { "$type": "SlotTypeContract" }, null, { "$type": "OverloadContract" } ], "slotName": "Reference", "toolTip": "right of ==", "DisplayDataType": { "m_type": 3 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{787B627B-7C46-4697-BA5E-06F4A1261E9D}" }, "contracts": [ { "$type": "SlotTypeContract" }, null ], "slotName": "Report", "toolTip": "additional notes for the test report", "DisplayDataType": { "m_type": 5 }, "Descriptor": { "ConnectionType": 1, "SlotType": 2 }, "DataType": 1 }, { "id": { "m_id": "{A05EEFC5-B851-4EF8-B714-658EACD36CA7}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "In", "Descriptor": { "ConnectionType": 1, "SlotType": 1 } }, { "id": { "m_id": "{B8424751-CB2F-4BB0-BA1F-80A8215691B9}" }, "contracts": [ { "$type": "SlotTypeContract" } ], "slotName": "Out", "Descriptor": { "ConnectionType": 2, "SlotType": 1 } } ], "Datums": [ { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 1 }, "isNullPointer": false, "$type": "EntityId", "value": { "id": 4276206253 } }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 0.0, "label": "Candidate" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 3 }, "isNullPointer": false, "$type": "double", "value": 7.0, "label": "Reference" }, { "isOverloadedStorage": false, "scriptCanvasType": { "m_type": 5 }, "isNullPointer": false, "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string", "value": "", "label": "Report" } ], "methodType": 2, "methodName": "Expect Equal", "className": "Unit Testing", "prettyClassName": "Unit Testing", "orderedInputSlotIds": [ { "m_id": "{3DE66711-A6CE-4FE4-BC03-B801AE7D731C}" }, { "m_id": "{DE7A2119-62E0-4855-B483-09E6BA85FD88}" }, { "m_id": "{5293ADA8-28E0-4DAC-9F37-22DB22D73FB5}" }, { "m_id": "{787B627B-7C46-4697-BA5E-06F4A1261E9D}" } ], "outputSlotIds": [ {} ] } } } ], "m_connections": [ { "Id": { "id": 552589532038311 }, "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Math Expression: In)", "Components": { "Component_[11800985823572027909]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 11800985823572027909, "sourceEndpoint": { "nodeId": { "id": 552572352169127 }, "slotId": { "m_id": "{06DB5CAE-0D47-431B-9D39-9BDA9841E869}" } }, "targetEndpoint": { "nodeId": { "id": 552576647136423 }, "slotId": { "m_id": "{629F6545-7642-4575-80FA-726C40F91854}" } } } } }, { "Id": { "id": 552593827005607 }, "Name": "srcEndpoint=(Math Expression: Result), destEndpoint=(Expect Equal: Candidate)", "Components": { "Component_[14494884051702872132]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 14494884051702872132, "sourceEndpoint": { "nodeId": { "id": 552576647136423 }, "slotId": { "m_id": "{E5F7DD30-2286-4DE3-9F5D-198BC5DC515D}" } }, "targetEndpoint": { "nodeId": { "id": 552585237071015 }, "slotId": { "m_id": "{DE7A2119-62E0-4855-B483-09E6BA85FD88}" } } } } }, { "Id": { "id": 552598121972903 }, "Name": "srcEndpoint=(Math Expression: Out), destEndpoint=(Expect Equal: In)", "Components": { "Component_[1855432706477044157]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 1855432706477044157, "sourceEndpoint": { "nodeId": { "id": 552576647136423 }, "slotId": { "m_id": "{01A54EFA-06FD-4B26-963D-91FE011AF824}" } }, "targetEndpoint": { "nodeId": { "id": 552585237071015 }, "slotId": { "m_id": "{A05EEFC5-B851-4EF8-B714-658EACD36CA7}" } } } } }, { "Id": { "id": 552602416940199 }, "Name": "srcEndpoint=(Expect Equal: Out), destEndpoint=(Mark Complete: In)", "Components": { "Component_[11302576161136449168]": { "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection", "Id": 11302576161136449168, "sourceEndpoint": { "nodeId": { "id": 552585237071015 }, "slotId": { "m_id": "{B8424751-CB2F-4BB0-BA1F-80A8215691B9}" } }, "targetEndpoint": { "nodeId": { "id": 552580942103719 }, "slotId": { "m_id": "{ADA5CB9F-9B60-4DE9-88BD-45F2005E6F58}" } } } } } ] }, "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}", "versionData": { "_grammarVersion": 1, "_runtimeVersion": 1, "_fileVersion": 1 }, "GraphCanvasData": [ { "Key": { "id": 552568057201831 }, "Value": { "ComponentData": { "{5F84B500-8C45-40D1-8EFC-A5306B241444}": { "$type": "SceneComponentSaveData", "ViewParams": { "AnchorX": 46.0, "AnchorY": -143.0 } } } } }, { "Key": { "id": 552572352169127 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "TimeNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 260.0, 200.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".time" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{07D1BCA8-2567-47FF-A5E2-A26EF79F0732}" } } } }, { "Key": { "id": 552576647136423 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "MathNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 400.0, 200.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".math" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{BF72CF3A-57E9-4C45-B357-172FFAFA2E74}" } } } }, { "Key": { "id": 552580942103719 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "TestingNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 880.0, 220.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".method" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{FA781727-1C24-42AB-B7FF-73503620501C}" } } } }, { "Key": { "id": 552585237071015 }, "Value": { "ComponentData": { "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": { "$type": "NodeSaveData" }, "{328FF15C-C302-458F-A43D-E1794DE0904E}": { "$type": "GeneralNodeTitleComponentSaveData", "PaletteOverride": "TestingNodeTitlePalette" }, "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": { "$type": "GeometrySaveData", "Position": [ 640.0, 220.0 ] }, "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": { "$type": "StylingComponentSaveData", "SubStyle": ".method" }, "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": { "$type": "PersistentIdComponentSaveData", "PersistentId": "{FEE1AD1B-2000-444F-9E1D-EB696ED12109}" } } } } ], "StatisticsHelper": { "InstanceCounter": [ { "Key": 4053150093067829293, "Value": 1 }, { "Key": 4199610336680704683, "Value": 1 }, { "Key": 7224637793062157918, "Value": 1 }, { "Key": 10204019744198319120, "Value": 1 } ] } }, "Component_[12310862822883751648]": { "$type": "EditorGraphVariableManagerComponent", "Id": 12310862822883751648 } } } } }