本文整理匯總了C#中WindowsFormsApplication13.DataManager.WorkHoursGetAllWorkHoursForDay方法的典型用法代碼示例。如果您正苦於以下問題:C# DataManager.WorkHoursGetAllWorkHoursForDay方法的具體用法?C# DataManager.WorkHoursGetAllWorkHoursForDay怎麽用?C# DataManager.WorkHoursGetAllWorkHoursForDay使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類WindowsFormsApplication13.DataManager
的用法示例。
在下文中一共展示了DataManager.WorkHoursGetAllWorkHoursForDay方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: WorkHoursGetAllWorkHoursForDayTest
public void WorkHoursGetAllWorkHoursForDayTest()
{
DataManager target = new DataManager(); // TODO: Initialize to an appropriate value
float expected = 10; // TODO: Initialize to an appropriate value
float actual;
actual = target.WorkHoursGetAllWorkHoursForDay(DateTime.Parse("1.12.12"));
Assert.AreEqual(expected, actual);
//Assert.Inconclusive("Verify the correctness of this test method.");
}
示例2: WorkHoursGetAllWorkHoursForDayTest
public void WorkHoursGetAllWorkHoursForDayTest()
{
DataManager target = new DataManager();
float expected = 30;
float actual;
actual = target.WorkHoursGetAllWorkHoursForDay(DateTime.Parse("3.12.12"));
Assert.AreEqual(expected, actual);
}