Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hey, I like fractions.
I found a similarly-themed kata, "Cogs" (https://www.codewars.com/kata/59e1b9ce7997cbecb9000014) but that kata wants only the rotation of the final cog in a decimal representation.
Suggestion It might be nice to add the word "fraction" in the description. Either that or specifically call out that you're looking for the output to be simplified or "reduced to lowest terms" or something.
That note is an
Issue
.No random tests.
the description is incomplete: you never said that the aircraft is moving in straight line only.
-> you need to use approximate comparison, otherwise your random tests are subject to floating point errors
it happens for
h,a,s = 10 210 1
Note: your random tests aren't random at all....