Coverage Summary for Class: LeastCommonMultipleKt (com.vsevolodganin.clicktrack.utils.math)

Class Class, % Method, % Branch, % Line, % Instruction, %
LeastCommonMultipleKt 0% (0/1) 0% (0/2) 0% (0/2) 0% (0/18)


 package com.vsevolodganin.clicktrack.utils.math
 
 fun lcm(lhs: Int, rhs: Int): Int {
     return lhs * rhs / gcd(lhs, rhs)
 }
 
 fun lcm(lhs: Rational, rhs: Rational): Rational {
     return lcm(lhs.numerator, rhs.numerator) over gcd(lhs.denominator, rhs.denominator)
 }