public void CloneShouldWork() { var kv = KvSrc.Clone(); kv.IsNotSameReferenceAs(KvSrc); kv.IsStructuralEqual(KvSrc); }
public void Get() { var tp = KvSrc.ToTuple(); tp.IsInstanceOf <Tuple <string, int> >(); tp.Item1.Is(KvSrc.Key); tp.Item2.Is(KvSrc.Value); }
public void Get() { var vtp = KvSrc.ToValueTuple(); vtp.IsInstanceOf <(string, int)>(); vtp.Item1.Is(KvSrc.Key); vtp.Item2.Is(KvSrc.Value); }
public void Get() { var kvp = KvSrc.ToKeyValuePair(); kvp.IsInstanceOf <KeyValuePair <string, int> >(); kvp.Key.Is(KvSrc.Key); kvp.Value.Is(KvSrc.Value); }