mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
6 lines
172 B
JavaScript
6 lines
172 B
JavaScript
import litersToUSGallons from '../LitersToUSGallons'
|
|
|
|
test('Convert 50 liters to US gallons', () => {
|
|
expect(parseFloat(litersToUSGallons(50).toFixed(2))).toBe(13.21)
|
|
})
|