package Ġcom . home construction . project . api Ċ Ċ import Ġorg . junit . Assert .* Ċ import Ġorg . junit . Test Ċ Ċ class ĠMinimum Amount Of Buy ers Reached Percentage Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Valid 1 Percentage () Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġproject Reached Percentage Ġ= ĠMinimum Amount Of Buy ers Reached Percentage ( 1 ) ĊĠĠĠĠĠĠĠ ĠassertSame ( 1 , Ġproject Reached Percentage . minimum Amount Of Buy ers Reached Percentage ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Valid 7 0 Percentage () Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġproject Reached Percentage Ġ= ĠMinimum Amount Of Buy ers Reached Percentage ( 7 0 ) ĊĠĠĠĠĠĠĠ ĠassertSame ( 7 0 , Ġproject Reached Percentage . minimum Amount Of Buy ers Reached Percentage ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Valid 1 0 0 Percentage () Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġproject Reached Percentage Ġ= ĠMinimum Amount Of Buy ers Reached Percentage ( 1 0 0 ) ĊĠĠĠĠĠĠĠ ĠassertSame ( 1 0 0 , Ġproject Reached Percentage . minimum Amount Of Buy ers Reached Percentage ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ( expected Ġ= ĠIllegalArgumentException :: class ) ĊĠĠĠ Ġfun Ġtest Invalid 0 Percentage () Ġ{ ĊĊĠĠĠĠĠĠĠ ĠMinimum Amount Of Buy ers Reached Percentage ( 0 ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ( expected Ġ= ĠIllegalArgumentException :: class ) ĊĠĠĠ Ġfun Ġtest Invalid 1 0 1 Percentage () Ġ{ ĊĊĠĠĠĠĠĠĠ ĠMinimum Amount Of Buy ers Reached Percentage ( 1 0 1 ) ĊĠĠĠ Ġ} Ċ }