Code Archive Skip to content Google About Google Privacy Terms
æè¡ãã¿ãããªãã¨ããã§çãä¸ãã¦ãã¾ã£ããæè¡ãã¿ããããæè¡ãã¿ã ãã¦ãJUnitã使ãéãhamcrestã©ã¤ãã©ãªã使ã£ã¦ãè±èªã¨ãã¦èªãããããªassertionãæ¸ãããªãã¦ã®ã¯æµè¡ã£ã¦ããæµè¡ã£ã¦ããªãã£ããï¼ JUnit4éå®ã ããã©ãassertionã®éãassertEqualsã¨ãè²ã assertionã®ã¡ã½ããã¯ãããã©ãå ¨ã¦assertThatã§æ¸ããã¨ãã§ããã¯ããassertThatã¡ã½ããã®ç¬¬ä¸å¼æ°ã«ãã¹ã対象ã第äºå¼æ°ã«hamcrestã®Matcherã¤ã³ã¿ã¼ãã§ã¤ã¹ã®å®è£ ãä¸ãã¾ãããªãã®ãã£ã¡ãã§ããã Jiemamyã§ã¯ããªãã¹ãassertThat以å¤ã®assertionã¡ã½ããã使ããªãããã«ãã¹ããæ¸ãã¦ãã¾ããï¼ããããããããä¸ã¤ãæ®ã£ã¦ãªããããï¼ ã¾ãã以ä¸ã®ããã«æ¸ãã¨ãè±èªã£ã½ãã®ãæ¸ãã¾ãããã¨ã assertThat(aaaa
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}