ãããã°ããããassert_equalã®æ¸ãæ¹ã¨ãããã°ãã«ããassert_equalã®æ¸ãæ¹ãããã®ã¯ç¥ã£ã¦ãã¾ããï¼1 ãããã°ããããassert_equalã®æ¸ãæ¹ã2ãã¿ã¼ã³ç´¹ä»ãã¾ãã ã¾ã¨ããassert_equal ã¾ãã1ã¤ç®ã®ããã¿ããããã°ãã«ããassert_equalã®æ¸ãæ¹ã§ãã def test_parse assert_equal(29, parse_integer("29")) # (1) assert_equal(29, parse_integer("+29")) # (2) assert_equal(-29, parse_integer("-29")) # (3) end ããããããã°ãã«ããã®ã¯ã(1)ã失æããã(2)ã(3)ãå®è¡ãããªãããã§ãããã¹ã¦ã®assert_equalãå®è¡ããã¦ãã©ã®assert_equalã失æãããã確èªã
{{#tags}}- {{label}}
{{/tags}}