Case #1

showServingUnitQuantityTextbox == true
showServingUnitQuantity == true
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity >= 0
showItemName == true

$('#test1').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6,
	valueServingSizeUnit : 'DONUTS'
});



Case #2

showServingUnitQuantityTextbox == false
showServingUnitQuantity == true
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity <= 0
showItemName == true

$('#test2').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 0,
	valueServingSizeUnit : 'DONUTS',
	showServingUnitQuantityTextbox : false
});



Case #3

showServingUnitQuantityTextbox == true
showServingUnitQuantity == true
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity <= 0
showItemName == true

$('#test3').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 0,
	valueServingSizeUnit : 'DONUTS'
});



Case #4

showServingUnitQuantityTextbox == false
showServingUnitQuantity == true
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity >= 0
showItemName == true

$('#test4').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6,
	valueServingSizeUnit : 'DONUTS',
	showServingUnitQuantityTextbox : false
});



Case #5

showServingUnitQuantityTextbox == true
showServingUnitQuantity == true
valueServingSizeUnit == '' (OR null)
valueServingUnitQuantity >= 0
showItemName == true

$('#test5').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6
});



Case #6

showServingUnitQuantityTextbox == false
showServingUnitQuantity == true
valueServingSizeUnit == '' (OR null)
valueServingUnitQuantity >= 0
showItemName == true

$('#test6').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6,
	showServingUnitQuantityTextbox : false
});



Case #7

showServingUnitQuantityTextbox == true
showServingUnitQuantity == false
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity >= 0
showItemName == true

$('#test7').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6,
	valueServingSizeUnit : 'DONUTS',
	showServingUnitQuantity : false
});



Case #8

showServingUnitQuantityTextbox == false
showServingUnitQuantity == false
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity >= 0
showItemName == true

$('#test8').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6,
	valueServingSizeUnit : 'DONUTS',
	showServingUnitQuantity : false,
	showServingUnitQuantityTextbox : false
});



Case #9

showServingUnitQuantityTextbox == true
showServingUnitQuantity == true
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity <= 0
showItemName == false

$('#test9').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 0,
	valueServingSizeUnit : 'DONUTS',
	showItemName : false
});



Case #10

showServingUnitQuantityTextbox == false
showServingUnitQuantity == true
valueServingSizeUnit != '' (AND NOT null)
valueServingUnitQuantity <= 0
showItemName == false

$('#test10').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 0,
	valueServingSizeUnit : 'DONUTS',
	showItemName : false,
	showServingUnitQuantityTextbox : false
});