We're a place where coders share, stay up-to-date and grow their careers.
In F#.
let fit_in a b m n = a + b <= max m n
let actual = fit_in 1 2 3 1 Assert.That(actual, Is.False)
In F#.