diff --git a/src/Simulation/Simulators.Tests/RuntimeMetadataTests.cs b/src/Simulation/Simulators.Tests/RuntimeMetadataTests.cs index a84d4d76423..2d8ee9a75cd 100644 --- a/src/Simulation/Simulators.Tests/RuntimeMetadataTests.cs +++ b/src/Simulation/Simulators.Tests/RuntimeMetadataTests.cs @@ -262,7 +262,7 @@ public void Ry() var expected = new RuntimeMetadata() { Label = "Ry", - FormattedNonQubitArgs = "(2.1)", + FormattedNonQubitArgs = "(" + 2.1 + ")", IsAdjoint = false, IsControlled = false, IsMeasurement = false, @@ -535,7 +535,7 @@ public void FooUDTOp() var expected = new RuntimeMetadata() { Label = "FooUDTOp", - FormattedNonQubitArgs = "(\"bar\", (2.1))", + FormattedNonQubitArgs = "(\"bar\", (" + 2.1 + "))", IsAdjoint = false, IsControlled = false, IsMeasurement = false, @@ -782,7 +782,7 @@ public void PartialRy() var expected = new RuntimeMetadata() { Label = "Ry", - FormattedNonQubitArgs = "(2.1)", + FormattedNonQubitArgs = "(" + 2.1 + ")", IsAdjoint = false, IsControlled = false, IsMeasurement = false, @@ -805,7 +805,7 @@ public void PartialUDT() var expected = new RuntimeMetadata() { Label = "FooUDT", - FormattedNonQubitArgs = "(\"bar\", (2.1))", + FormattedNonQubitArgs = "(\"bar\", (" + 2.1 + "))", IsAdjoint = false, IsControlled = false, IsMeasurement = false,