You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

KeyValuePairExtensionsTests.cs 270 B

123456789101112131415
  1. namespace LLama.Unittest;
  2. public class KeyValuePairExtensionsTests
  3. {
  4. [Fact]
  5. public void Deconstruct()
  6. {
  7. var kvp = new KeyValuePair<int, string>(1, "2");
  8. var (a, b) = kvp;
  9. Assert.Equal(1, a);
  10. Assert.Equal("2", b);
  11. }
  12. }