This is my new website!!!
This is my new website!!!
This is what I’ve done in class for about 30 min. It was like an exercise for what we have learned the week before. It is mainly a normal stack class in c++, but the interesting thing here is that it doesn’t have a specific type and by creating an object from that class you can tell the type you want to use in the stack. It’s nothing quite new for me, although there was something new by writing methods from that class outside it.
Here’s the code for the program: https://github.com/powerworr/OOP/blob/master/TemplateClass/stack.cc
Before couple of weeks we were given a task to make a project that will take us at least 2 months to make. I and one of the best programmers in the class combined and decided to make an android application. Thinking of something extremely innovative and new isn’t easy so we decided to make something that we need. So we both haven’t found a good and in the same time easy working application for notes. So we decided. He is mainly working on the main application and I on the website and widget, but we help each other so mainly it is a great teamwork.
Here’s the code only for a something like pre-widget:
Today or tomorrow I’ll make the widget more like it should look at the final of our project.
Next week I will have my final exam for this semester. I will have to write a simple program with few classes and test all that with JUnit tests. It shouldn’t be that hard, because I’ve already done a similar task that is in my github, which is linked below. The only problem may be the time since we have only 30 min to make minimum 3 classes and test everything in order to get 100% code coverage.
Here are the links to my Github:
If you have any questions to this specific program something else related to programing, feel free to contact me!
Recently we started writing unit test in school. A unit test is a program that tests your main program if it works properly. Of course we can test them with the console, but with unit tests it’s faster and more accurate. We are using JUnit for it. JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
We were testing the program ManyToOne, where we should make objects and make this objects linkable. There are 2 main types of objects – Many and One. The Many type objects should be able to link to only one One object at a time and the One type of object should have many Many objects related to it.
Here are the links to the ManyToOneRelation class and ManyToOneRelationTest:
If you have any questions to unit testing in java or something else related to programing, feel free to contact me!
Before few weeks we had an exam, which was incredible easy for me. We needed to make some classes in which we should have had 1 abstract, 1 main, 1 inteface and 2 normal classes which should extend the main and the only difference between them was the interface. Here’s the code for the exam. If you have any questions feel free to contact me and ask them. 🙂