コード例 #1
0
ファイル: dataTest.cs プロジェクト: taoxiease/asegrp
 public void incHashValueTest()
 {
     setHashValueTest();
     API parent = _api;
     data target = new data(parent);
     string obj_type = Constants.TestType;
     string key = Constants.TestHashKey;
     string prop_name = Constants.TestObjectPropertyName;
     int increment = 2;
     long expected = long.Parse(Constants.TestHashValue) + increment;
     long actual;
     actual = target.incHashValue(obj_type, key, prop_name,increment);
     Assert.AreEqual(expected, actual);
 }