update testing data
add proper names
This commit is contained in:
parent
eee0848dff
commit
5f0ff1688f
1 changed files with 15 additions and 12 deletions
|
@ -17,27 +17,30 @@ public class data_test {
|
|||
private static void fill() {
|
||||
/* Fake items. */
|
||||
Dictionary item_1 = new Hashtable<>();
|
||||
item_1.put("Name", "No Discount");
|
||||
item_1.put("Price", (float) 234);
|
||||
item_1.put("Name", "Plastic Bag");
|
||||
item_1.put("Price", (float) 1);
|
||||
fake_items.put("13f", item_1);
|
||||
|
||||
Dictionary item_2 = new Hashtable<>();
|
||||
item_2.put("Name", "a Discount");
|
||||
item_2.put("Price", (float) 15);
|
||||
item_2.put("Discount", -2);
|
||||
item_2.put("Tax", 3);
|
||||
item_2.put("Name", "Bill Gates");
|
||||
item_2.put("Price", (float) 1000000);
|
||||
item_2.put("Discount", 0);
|
||||
item_2.put("Tax", 0);
|
||||
fake_items.put("13a", item_2);
|
||||
|
||||
Dictionary item_3 = new Hashtable<>();
|
||||
item_3.put("Name", "as Discount");
|
||||
item_3.put("Price", (float) 104);
|
||||
item_3.put("Discount", 95);
|
||||
item_3.put("Name", "Microsoft Windows Lisence");
|
||||
item_3.put("Price", (float) 100);
|
||||
item_3.put("Discount", -10);
|
||||
item_3.put("Tax", 20);
|
||||
fake_items.put("13d", item_3);
|
||||
|
||||
Dictionary item_4 = new Hashtable<>();
|
||||
item_4.put("Price", (float) 144);
|
||||
item_4.put("Discount", 0);
|
||||
fake_items.put("1d", item_4);
|
||||
item_4.put("Name", "Microsoft Office 2010 ProfessionalPlus Lisence");
|
||||
item_4.put("Price", (float) 50);
|
||||
item_4.put("Discount", -10);
|
||||
item_4.put("Tax", 20);
|
||||
fake_items.put("13c", item_4);
|
||||
}
|
||||
|
||||
private static Dictionary<String, String> fake_details = new Hashtable<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue