Skip to content

Commit

Permalink
slettet unødig prut
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlHejlesen committed May 9, 2024
1 parent c3ccff3 commit 94e2a91
Showing 1 changed file with 2 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,7 @@ void testErrorHandler() {
assertEquals(expectedOutput.trim(), normalizedActualOutput);
}

@Test
void testGetType() {

}

@Test
void testGetVariable() {

}


@Test
void testRelationOperatorTypeCheck() {
Expand All @@ -135,25 +127,7 @@ void testRelationOperatorTypeCheck() {
assertEquals(Type.BOOLEAN, testfn3, "Should have Type bool");
}

@Test
void testVisitAssignNode() {

}

@Test
void testVisitBlockNode() {

}

@Test
void testVisitFunctionCall() {

}

@Test
void testVisitFunctionDefinition() {

}


@Test
void testVisitIfStatement() {
Expand Down Expand Up @@ -197,31 +171,6 @@ void testVisitWhileLoop() {
"While loop expresion must resolve to bool expresion, and this resolve to Type:" + errorType);
}

@Test
void testVisitProgramNode() {

}

@Test
void testVisitReturnNode() {

}

@Test
void testVisitStatements() {

}

@Test
void testVisitStruct() {

}

@Test
void testVisitor() {

}

@Test
void testTypeCheker1() {

Expand Down Expand Up @@ -273,52 +222,6 @@ void testTypeCheker2() {
// assertTrue( terminal_Errors.contains(correct_error));
}

@Test
void testTypeCheker3() {
/*
* Tried to assign the type:" + assignType + " to the array:" + identifier
* + " that has the type:" + arrayType + ", and that is ilegal
*/
}

@Test
void testTypeCheker4() {
/*
* Identifier:" + identifier + " is alredy used, rename it
*/
}

@Test
void testTypeCheker5() {
/*
* Tried to declare the array:" + identifier + " but argument: " +
* arguementNumber
* + " is of type:" + sizeType + " and should be:" + arrayType
*/
}

@Test
void testTypeCheker6() {
/*
* Identifier:" + identifier + " is alredy used, rename it
*/
}

@Test
void testTypeCheker7() {
/*
* Type " + oldType + " does not match " + newType
*
*/
}

@Test
void testTypeCheker8() {
/*
* "Wrong types for binary operation:" + leftType + ":" + left + " And:" + right
* + ":" + rightType
*/
}

@Test
void testTypeCheker9() {
Expand Down

0 comments on commit 94e2a91

Please sign in to comment.