class DiabetesTests

Public Instance Methods

test_normal() click to toggle source
# File framingham/tests/diabetes_tests.rb, line 11
def test_normal
  assert_equal 0.004001804744896386, eval, (yellow "Normal test")
end
yellow(_) click to toggle source
# File framingham/tests/diabetes_tests.rb, line 7
def yellow _
  "\e[1;7;41;33mFailed:\e[1;3;40m " + _ + " \e[0m"
end