tests.java 522 B

12345678910111213141516171819202122
  1. package ui.model;
  2. import java.util.ArrayList;
  3. import classes.Category;
  4. import ui.controller.CategoryController;
  5. public class tests {
  6. // public static void main(String[] args){
  7. // CategoryController cc = new CategoryController(new Model());
  8. // ArrayList<Category> cats = new ArrayList<Category>();
  9. // cats.add(new Category("sup"));
  10. // boolean value;
  11. // value = cc.containsInList(cats, new Category("sup"));
  12. // if(value){
  13. // System.out.println("true");
  14. // }else{
  15. // System.out.println("false");
  16. // }
  17. //}
  18. }