示例#1
0
 public void TryParseSuccess(string text, string expected)
 {
     Assert.AreEqual(true, AngleUnit.TryParse(text, out var result));
     Assert.AreEqual(expected, result.ToString());
 }
示例#2
0
 public void TryParseSuccess(TestCase testCase)
 {
     Assert.AreEqual(true, AngleUnit.TryParse(testCase.Text, out AngleUnit result));
     Assert.AreEqual(testCase.Expected, result.ToString());
 }