Skip to content

Addition of unit and integration tests in liquidjava-verifier#129

Closed
dajh-horta wants to merge 8 commits intoliquid-java:mainfrom
dajh-horta:main
Closed

Addition of unit and integration tests in liquidjava-verifier#129
dajh-horta wants to merge 8 commits intoliquid-java:mainfrom
dajh-horta:main

Conversation

@dajh-horta
Copy link

Student number: 61835

This pull request adds unit and integration tests to increase coverage of classes in liquidjava-verifier:

Increased coverage for classes:

  • LiteralInt;
  • LiteralString;
  • Ite;
  • LJDiagnostic;
  • BinaryExpression;
  • ConstantFolding;
  • ValDerivationNode;
  • FunctionInvocation.

Unit tests:

  • TestLiteralString: tests LiteralString hashCode() method;
  • TestLJDiagnostic: tests LJDiagnostic getTitle() method;
  • TestIte: tests Ite hashcode() method.

Integration test:

  • TestOptimization: evaluates the interaction between ConstantFolding and BinaryExpression;
  • TestFunctionInvocation: tests FunctionInvocation equals() and hashCode() methods with LiteralString args.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants