conversion: liters to US gallons (#1255)

This commit is contained in:
Lcvieira2001
2022-10-31 13:37:48 -03:00
committed by GitHub
parent 8cbaf2e299
commit b634aa581c
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import litersToUSGallons from '../LitersToUSGallons'
test('Convert 50 liters to US gallons', () => {
expect(parseFloat(litersToUSGallons(50).toFixed(2))).toBe(13.21)
})