updated test files
to float
This commit is contained in:
parent
b077cbf9ed
commit
bc51ba83fd
1 changed files with 4 additions and 4 deletions
|
@ -18,24 +18,24 @@ public class data_test {
|
||||||
/* Fake items. */
|
/* Fake items. */
|
||||||
Dictionary item_1 = new Hashtable<>();
|
Dictionary item_1 = new Hashtable<>();
|
||||||
item_1.put("Name", "No Discount");
|
item_1.put("Name", "No Discount");
|
||||||
item_1.put("Price", (double) 234);
|
item_1.put("Price", (float) 234);
|
||||||
fake_items.put("13f", item_1);
|
fake_items.put("13f", item_1);
|
||||||
|
|
||||||
Dictionary item_2 = new Hashtable<>();
|
Dictionary item_2 = new Hashtable<>();
|
||||||
item_2.put("Name", "a Discount");
|
item_2.put("Name", "a Discount");
|
||||||
item_2.put("Price", (double) 15);
|
item_2.put("Price", (float) 15);
|
||||||
item_2.put("Discount", -2);
|
item_2.put("Discount", -2);
|
||||||
item_2.put("Tax", 3);
|
item_2.put("Tax", 3);
|
||||||
fake_items.put("13a", item_2);
|
fake_items.put("13a", item_2);
|
||||||
|
|
||||||
Dictionary item_3 = new Hashtable<>();
|
Dictionary item_3 = new Hashtable<>();
|
||||||
item_3.put("Name", "as Discount");
|
item_3.put("Name", "as Discount");
|
||||||
item_3.put("Price", (double) 104);
|
item_3.put("Price", (float) 104);
|
||||||
item_3.put("Discount", 95);
|
item_3.put("Discount", 95);
|
||||||
fake_items.put("13d", item_3);
|
fake_items.put("13d", item_3);
|
||||||
|
|
||||||
Dictionary item_4 = new Hashtable<>();
|
Dictionary item_4 = new Hashtable<>();
|
||||||
item_4.put("Price", (double) 144);
|
item_4.put("Price", (float) 144);
|
||||||
item_4.put("Discount", 0);
|
item_4.put("Discount", 0);
|
||||||
fake_items.put("1d", item_4);
|
fake_items.put("1d", item_4);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue