Case #1

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

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



Case #2

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

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



Case #3

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

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



Case #4

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

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



Case #5

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

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



Case #6

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

$('#test6').nutritionLabel({
	valueCalories : 400,
	valueServingUnitQuantity : 6,
	showServingUnitQuantityTextbox : false,
	showLegacyVersion : 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,
	showLegacyVersion : 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,
	showLegacyVersion : 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,
	showLegacyVersion : 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,
	showLegacyVersion : false
});