Skip to content

Commit

Permalink
Rename the model to TeadsCurveModel
Browse files Browse the repository at this point in the history
Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]>
  • Loading branch information
gnanakeethan committed Aug 30, 2023
1 parent be335f4 commit 541934a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {describe, expect, jest, test} from '@jest/globals';
import {TeadsCPUModel} from './index';
import {TeadsCurveModel} from './index';

jest.setTimeout(30000);

describe('teads:configure test', () => {
test('initialize with params', async () => {
const impactModel = new TeadsCPUModel();
const impactModel = new TeadsCurveModel();
await impactModel.configure('test', {
tdp: 200,
});
Expand All @@ -27,7 +27,7 @@ describe('teads:configure test', () => {
]);
});
test('teads:initialize with params', async () => {
const impactModel = new TeadsCPUModel();
const impactModel = new TeadsCurveModel();
await impactModel.configure('test', {
tdp: 300,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {IImpactModelInterface} from '../interfaces';
import Spline from 'typescript-cubic-spline';
import {KeyValuePair} from '../../types/boavizta';

export class TeadsCPUModel implements IImpactModelInterface {
export class TeadsCurveModel implements IImpactModelInterface {
// Defined for compatibility. Not used in TEADS.
authParams: object | undefined;
// name of the data source
Expand Down

0 comments on commit 541934a

Please sign in to comment.