# coding: utf-8

import unittest

from monty.math import nCr, nPr


class FuncTest(unittest.TestCase):
    def test_nCr(self):
        self.assertEqual(nCr(4, 2), 6)

    def test_deprecated_property(self):
        self.assertEqual(nPr(4, 2), 12)


if __name__ == "__main__":
    unittest.main()
