Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab. 1, Lab. 2 _and_ Lab. 3 is done. #17

Merged
merged 8 commits into from
Dec 7, 2024

Conversation

Egorkin-enabled
Copy link

@Egorkin-enabled Egorkin-enabled commented Sep 26, 2024

Hello, Eugeny Sergeevich. I'm Kozlov Egor, student of 2/278 group.
I want to say that I have written all CodeWars tasks. Also made TS laboratory with Unit tests.

At CodeWars I've used different languages:

  • C# as the main one;
  • JS for some tasks that couldn't be solved different;
  • C for about of 1/3 tasks — I'm pointer arithmetic believer!
  • C++ in few tasks where C was forbidden.

Is everything did OK? I'm waiting for a feedback. Thank you and have a nice day!

@Egorkin-enabled
Copy link
Author

Egorkin-enabled commented Oct 5, 2024

Hello Eugeny Sergeevich. I have merged your fixes.

@Egorkin-enabled
Copy link
Author

Egorkin-enabled commented Oct 5, 2024

Hello again. I have did Lab 3. My variant is 2. I'll fix Pull request header.

@Egorkin-enabled Egorkin-enabled changed the title Lab. 1 _and_ Lab. 2 done. Lab. 1, Lab. 2 _and_ Lab. 3 is done. Oct 5, 2024
.gitignore Outdated
@@ -0,0 +1,130 @@
# Logs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

он тут не нужен

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

его и node_modules рядом надо удалить

package.json Outdated
@@ -0,0 +1,5 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

этот тоже удаляем

@@ -0,0 +1,130 @@
# Logs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в каталоге выше был gitignore

const arr = new Array<number>(itemCount);
let xCurrent = xStart;
let index = 0;
while (xCurrent < xEnd) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for ?


export function calculatePoints(a: number, b: number, xes: Array<number>): Array<number> {
const results: Array<number> = new Array<number>(xes.length);
for (const index in xes) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for (const index in xes) {
for (const index of xes) {

import * as pointEngine from '../../src/lab1/funcs';

// Let test our task.
it('should be empty if end >= start.', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

объедините в describe

@Egorkin-enabled
Copy link
Author

Hello, Eugeny Sergeevich. I've applied all of the remarks. I hope it's all right.

private _birthDate: Date;

constructor(name: string, birthdate: Date, color: string) {
this._name = name;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this._name = name;
this.name = name;


constructor(name: string, birthdate: Date, color: string) {
this._name = name;
this._birthDate = birthdate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this._birthDate = birthdate;
this.birthDate = birthdate;

@jskonst jskonst merged commit 63dabe9 into ISUCT:Kozlov_Egor_Aleksandrovich Dec 7, 2024
3 checks passed
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