ã¯ããã« Xcode 6 ã§ã¦ããããã¹ãã®ããã«ããã©ã¼ãã³ã¹ããã¹ãããæ©è½ã追å ããã¾ããã ããã«ãã£ã¦éãããªãã¸ãã¯ã«ããã©ã¼ãã³ã¹ã®æ¸¬å®ãè¨å®ãã¦ãã常ã«è¨æ¸¬ãããã¨ãã§ãã¾ãã ä¾ãã°ãç»åãåç»ãé³å£°ãªã©å§ç¸®ãã¼ã¿ã®ã¨ã³ã³ã¼ãï¼ãã³ã¼ãå¦çã大éã®ãã¼ã¿ãã½ã¼ãããå¦çãæå·åããå¦çãªã©ãããã£ã¨æãã¤ãéãå¦çã§ãã ä»åã¯ãµã³ãã«ã¨ãã¦ãã°åºåã§è¿½å ãããprintlnã¨NSLogã®ããã©ã¼ãã³ã¹ãæ¯è¼ãã¦ã¿ã¾ãã 測å®ãã¦ã¿ã ããã©ã¼ãã³ã¹ã®æ¸¬å®ã¯ã¦ããããã¹ãã¨åãããã«æ±ããã¾ãããAssertããã訳ã§ã¯ãªãself.measureBlock()ã®ä¸ã§å¼ã³åºãããã³ã¼ããè¨æ¸¬å¯¾è±¡ã«ãªãã¾ãã æ°è¦ã«ããã¸ã§ã¯ããä½æããã¨Testã¯ã©ã¹ãä½æããã¾ãããããã«ãself.measureBlock()ãä½æãããããã«ãªãã¾ããã ä»åå¿ è¦ãªã½ã¼ã¹ ãã¹ãã
{{#tags}}- {{label}}
{{/tags}}