We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb2199 commit 98273f2Copy full SHA for 98273f2
tests/texampleTests.m
@@ -0,0 +1,24 @@
1
+classdef texampleTests < matlab.unittest.TestCase
2
+% Smoke level tests for the example .mlx files
3
+
4
+% Copyright 2024 The MathWorks, Inc.
5
6
+ methods (TestClassSetup)
7
+ function saveEnvVar(testCase)
8
+ % Ensures key is not in environment variable for tests
9
+ openAIEnvVar = "OPENAI_KEY";
10
+ key = getenv(openAIEnvVar);
11
+ unsetenv(openAIEnvVar);
12
+ testCase.addTeardown(@(x) setenv(openAIEnvVar, x), key);
13
+ end
14
15
16
+ methods(Test)
17
+ % Test methods
18
19
+ function testAnalyzeScientificPapersUsingFunctionCalls(~)
20
+ AnalyzeScientificPapersUsingFunctionCalls;
21
22
23
24
+end
0 commit comments