コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "exactDivide") public void test_exactDivide_reverse(Frequency test, Frequency other, int expected)
        public virtual void test_exactDivide_reverse(Frequency test, Frequency other, int expected)
        {
            if (!test.Equals(other))
            {
                assertThrowsIllegalArg(() => other.exactDivide(test));
            }
        }
コード例 #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "exactDivide") public void test_exactDivide(Frequency test, Frequency other, int expected)
        public virtual void test_exactDivide(Frequency test, Frequency other, int expected)
        {
            assertEquals(test.exactDivide(other), expected);
        }