Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mesji/bacheloroppgave_2022
1 result
Show changes
Commits on Source (2)
package com.application.DB;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import static org.junit.jupiter.api.Assertions.*;
class DBTest {
DBTest(){
Constants.TREE_SPECIES = "Gran";
Constants.DIMENSIONS = "47x200";
Constants.SAWSET = "2ex";
Constants.MOISTURE_GOAL = "16";
Constants.CURRENT_DATE = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss").format(LocalDateTime.now());
Constants.START_TIME = Constants.CURRENT_DATE;
Constants.STOP_TIME = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss").format(LocalDateTime.now());
}
@Test
void setInputParameters() throws Exception {
Assertions.assertEquals(2, DB.setInputParameters().size());
}
@Test
void getCurrentDrying() throws Exception {
Assertions.assertEquals(0, DB.getCurrentDrying().size());
}
}
\ No newline at end of file
File added
File added
File added
File added
File added
No preview for this file type
File added