.. (לתיקייה המכילה) | ||
How should the equality for the collections of parts in StoreItems be decided? | |
The collection of parts in a StoreItem is a multiset. Therefore, if two StoreItems have the same parts, but in different order, they are still equal. Also, the number of occurrences of a part is a StoreItem IS important (for example a StoreItem with 1 memory card and a StoreItem with 2 memory cards are NOT equal). |
If a possible way to assemble a computer has redundant parts, is it a legal possible solution? | |
Yes. However, redundant parts are non-refundable, and can't be sold on e-Bay. |
Should buying a StoreItem from a store remove the StoreItem (to simulate a limit stock)? | |
No. Assume the stores have an arbitrarily large stock, and remove is called only manually. |
How to use the Visual Studio Unit Testing framework? | |
Use the instructions in this link |