Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5c7e33b8
authored
Nov 15, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test(测试类): 测试类处理
1 parent
8b284a35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
project-order/src/test/java/com/dituhui/pea/order/scheduler/CalcEngineerCapacitySchedulerTest.java
project-order/src/test/java/com/dituhui/pea/order/scheduler/CalcEngineerCapacitySchedulerTest.java
View file @
5c7e33b
...
@@ -20,14 +20,14 @@ class CalcEngineerCapacitySchedulerTest {
...
@@ -20,14 +20,14 @@ class CalcEngineerCapacitySchedulerTest {
@Test
@Test
void
calcOneEngineer
()
{
void
calcOneEngineer
()
{
calcEngineerCapacityScheduler
.
calcOneEngineer
(
"2023-11-15"
,
"G20210H1301-jiangbei"
);
//
calcEngineerCapacityScheduler.calcOneEngineer("2023-11-15", "G20210H1301-jiangbei");
// calcOrgCapacityScheduler.calcAllGroupByDays("2023-11-14", "2023-11-17");
// calcOrgCapacityScheduler.calcAllGroupByDays("2023-11-14", "2023-11-17");
}
}
@Test
@Test
void
engineerTimeWindow
()
{
void
engineerTimeWindow
()
{
int
[][]
ints
=
engineerCalendarService
.
timeWindows
(
"6200043046"
,
"1716782616477233152"
,
LocalDate
.
now
().
plusDays
(
1
));
//
int[][] ints = engineerCalendarService.timeWindows("6200043046", "1716782616477233152", LocalDate.now().plusDays(1));
Assertions
.
assertEquals
(
480
,
ints
[
0
][
0
]);
//
Assertions.assertEquals(480, ints[0][0]);
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment