public void GetWithKeyValuePair() { var kv = Kv.Create(KvpSrc); kv.Key.Is(KvpSrc.Key); kv.Value.Is(KvpSrc.Value); }
public void GetWithValueTuple() { var kv = Kv.Create(VtpSrc); kv.Key.Is(VtpSrc.Item1); kv.Value.Is(VtpSrc.Item2); }
public void GetWithSpecifiedParameters() { var kv = Kv.Create("test", 66); kv.Key.Is("test"); kv.Value.Is(66); }
public void GetWithValueTupleWithNamedProperty() { (int k, string v)vtp = (100, "test"); var kv = Kv.Create(vtp); kv.Key.Is(vtp.k); kv.Value.Is(vtp.v); }