Skip to content

Commit

Permalink
fix incorrect input docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sezna committed Nov 18, 2024
1 parent ecb04fe commit d283223
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/qtest/src/Operations.qs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ import Std.Arrays.Mapped, Std.Arrays.All;
/// test results instead of printing out to output.
///
/// # Input
/// Takes a list of test cases. A test case is a tuple of `(String, () => 'T, 'T)`, where
/// the first String is the name of the test, the function is the test case itself, and the
/// Takes a list of test cases. A test case is a tuple of `(String, Int, Qubit[] => Unit, Qubit[] => 'T, 'T)`, where
/// the first String is the name of the test, the int is the number of qubits to allocate for this test,
/// the first function is a qubit state prep function to be run before the test, the second function is the test case itself, and the
/// final element of the tuple is the expected return value from the test case.
///
/// # Example
Expand Down

0 comments on commit d283223

Please sign in to comment.