Esempio n. 1
0
        public void LeastCommonMultiple_Long(long x, long y, long lcm)
        {
            long actual = EuclideanAlgorithm.LeastCommonMultiple(x, y);

            Assert.Equal(lcm, actual);
        }
Esempio n. 2
0
        public void LeastCommonMultiple_Int(int x, int y, int lcm)
        {
            int actual = EuclideanAlgorithm.LeastCommonMultiple(x, y);

            Assert.Equal(lcm, actual);
        }