project test "Test" "1.0" 2007-03-25 +6m

resource r1 "R1"
resource r2 "R2"
resource r3 "R3"
resource r4 "R4"

task duration "Duration Tasks" {
  start 2007-03-27
# MARK: warning 11 allocate_no_assigned
  task t1 "Duration 5h" {
    duration 5h
    allocate r1
    minend 2007-03-27-5:00
    maxend 2007-03-27-5:00
    fail plan.effort != 0
  }

  task t2 "Duration 5d" {
    duration 5d
    allocate r2
    minend 2007-04-01
    maxend 2007-04-01
    fail plan.effort != 4
  }

  task t3 "Duration 5w" {
    duration 5w
    allocate r3
    minend 2007-05-01
    maxend 2007-05-01
    fail plan.effort != 25
  }

  task t4 "Duration 5m" {
    duration 5m
    allocate r4
    minend 2007-08-26-2:00
    maxend 2007-08-26-2:00
    fail plan.effort != 109
  }
}

taskreport duration "Duration" {
  formats html
  loadunit days
	columns name, start, effort, end, daily
}

