{"provider_name":"Hatena Blog","url":"https://www.little-cuckoo.jp/entry/2013/12/09/115033","categories":["C#"],"height":"190","image_url":null,"published":"2013-12-09 11:50:33","title":"NUnit2.6\u3067TestCase\u306bint\u4ee5\u5916\u306e\u6574\u6570\u3092\u4f7f\u3046\u5834\u5408\u306f\u6574\u6570\u30ea\u30c6\u30e9\u30eb\u3067\u578b\u3092\u660e\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b","blog_url":"https://www.little-cuckoo.jp/","provider_url":"https://hatena.blog","version":"1.0","author_name":"wata_d","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F2013%2F12%2F09%2F115033\" title=\"NUnit2.6\u3067TestCase\u306bint\u4ee5\u5916\u306e\u6574\u6570\u3092\u4f7f\u3046\u5834\u5408\u306f\u6574\u6570\u30ea\u30c6\u30e9\u30eb\u3067\u578b\u3092\u660e\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b - \u9591\u53e4\u9ce5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"\u9591\u53e4\u9ce5","type":"rich","author_url":"https://blog.hatena.ne.jp/wata_d/","description":"[TestCase(1)] public void Test(ulong n) { // ... } \u306a\u3069\u3068\u66f8\u3044\u305f\u5834\u5408\u3001\u6574\u6570\u3092\u66f8\u304f\u3068int\u3068\u8a8d\u8b58\u3055\u308c\u308b\u306e\u3067: Test(1), Failed: System.ArgumentException : \u578b 'System.Int32' \u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u578b 'System.UInt64' \u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002 \u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u3067\u304d\u306a\u3044\u3002 [TestCase(1ul)] public void Test(ulong n) { // ... } \u3068\u3057\u3066\u3042\u3052\u308b\u3068\u826f\u3044\u3089\u3057\u3044\u3002\u307e\u3042\u3001\u305d\u308a\u3083\u305d\u3046\u304b\u3002NUnit\u306e\u4e2d\u3067\u306f\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u6642\u306b\u30ea\u30d5\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u2026"}