public void GetFirstTest_Exists_Pass() { var dict = new BiDictionaryOneToOne <int, int> { { 0, 815 }, }; Assert.Equal(0, dict.GetFirst(815)); }
public void GetFirstTest_Missing_Fail() { var dict = new BiDictionaryOneToOne <int, int> { { 0, 815 }, }; object Check() => dict.GetFirst(888); Assert.Throws <ArgumentException>(Check); }