Skip to content

Commit

Permalink
Updated Test to do more than just run.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Dec 31, 2024
1 parent 3b47c7e commit a12905b
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.vcell.sedml.testsupport.*;
import org.junit.jupiter.api.Tag;

@Tag("Fast")
public class TestOmexTestReport {
@Test
void checkTableIsMade(){
Expand All @@ -28,6 +30,15 @@ void checkTableIsMade(){
table.setTableValue(3, 0, 17);
table.setTableValue(3, 1, 42);
table.setTableValue(3, 2, 3.14159);
System.out.println(table.getMarkdownTable());

String expectedResult = """
| | Logan | Jim | Alex |
|:----------------------:|:---------:|:-----------:|:------------:|
| VCell Developer | true | true | false |
| Favorite Byte | 0x88 | 0xFF | 0x00 |
| Favorite Pizza Topping | Pepperoni | Feta Cheeze | Extra Cheese |
| Favorite Number | 17 | 42 | 3.14159 |
""";
Assertions.assertEquals(expectedResult, table.getMarkdownTable());
}
}

0 comments on commit a12905b

Please sign in to comment.