text: # Copyright 2021-2022 NVIDIA Corporation
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  #
  
  import numpy as np
  from test_tools.generators import scalar_gen
  
  import cunumeric as num
  
  
  def test():
      test_values = [(42, 17)]
      for (a, b) in test_values:
          for (la, lb, na, nb) in zip(
              scalar_gen(num, a),
              scalar_gen(num, b),
              scalar_gen(np, a),
              scalar_gen(np, b),
          ):
              assert np.array_equal(
                  num.true_divide(la, lb), np.true_divide(na, nb)
              )
  
  
  if __name__ == "__main__":
      test()
  