code: def test_num_permutations():
      assert (
          num_permutations(n=20, k=8, with_replacement=False)
          == 5079110400
      )
      assert (
          num_permutations(n=20, k=8, with_replacement=True)
          == 25600000000
      )
  
imports: from mlxtend.math import factorial, num_combinations, num_permutations
label_desc: Use image node_id 3 for calling a global function with example usage: test_num_permutations() without return types